Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Julia has $40. She spends half of her money to buy a new game for her phone. She spends a quarter of what she has left on in-game purchases. How much money does she have left?

### Response:
Julia spent 40/2= <<40/2=20>>20 dollars on the game.
After buying the game, she has 40-20= <<40-20=20>>20 dollars left.
She spent 20/4= <<20/4=5>>5 dollars on in-game purchases.
She has 20-5= <<20-5=15>>15 dollars left.
#### 15