9. Mary spent 20% of her money to buy a cake for her mother. She then spent 30% of the remaining money to buy a gift. If she had 1000 at first. How much was left to her?

A.800
B.560
C.240
D.1000​