Sandra has 16 red roses and 40 white roses. She wants to make arrangements of flowers with the same number of red roses and the same number of white roses in each arrangement. What is the greatest number of arrangements Sandra can make?

A. 4
B. 5
C. 8
D. 10

C. 8