Question

Riley had $ 77
She spent $ 17 on a bag.
She spent $ 30 on a shoes.

How much did she have left?