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?
Elsa spent 58*2 = 
<gadget id="calculator">58*2</gadget>
<output>116</output>
116.
Elizabeth spent 116*4 = 
<gadget id="calculator">116*4</gadget>
<output>464</output>
464.
Emma, Elsa, and Elizabeth spent 58+116+464 = 
<gadget id="calculator">58+116+464</gadget>
<output>638</output>
638 in total.

<result>638</result>