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

### Instruction:
Elizabeth, Emma, and Elsa went shopping on Wednesday. In total Emma spent $58 If Elsa spent twice as much as Emma, and Elizabeth spent four times as much as Elsa, how much money did they spend in total?

### Response:
Elsa spent twice as much as Emma, so 58 * 2 = $116.
Elizabeth spent four times as much as Elsa, so 116 * 4 = $<<116*4=464>>464.
In total they spent 58 + 116 + 464 = $<<58+116+464=638>>638.
#### 638