Elaine spent 7/10 of her paycheck, and 5/9 of the money she spent was spent on groceries. What part of her paycheck was spent on groceries?

A.50/63
B.7/18
C.1/28
D.63/50