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

### Instruction:
Ivan had $10 and spent 1/5 of it on cupcakes. He then spent some money on a milkshake and had only $3 left. How much is the milkshake?

### Response:
Ivan spent 1/5 * $10 = $<<1/5*10=2>>2 on cupcakes.
Ivan spent $10 - $2 - $3 = $<<10-2-3=5>>5 on a milkshake.
#### 5