Madeline spends 18 hours a week in class. She spends 4 hours per day working on homework. She spends 8 hours per day sleeping. She works part-time 20 hours per week. How many hours left over does Madeline have?
Madeline spends 4*7=
<gadget id="calculator">4*7</gadget>
<output>28</output>
28 hours on homework.
She spends 8*7-56 hours sleeping.
Therefore, she is busy 28+18+56+20=
<gadget id="calculator">28+18+56+20</gadget>
<output>122</output>
122 hours per week.
There are 7*24=
<gadget id="calculator">7*24</gadget>
<output>168</output>
168 hours per week.
Thus, Madeline has 168-122=
<gadget id="calculator">168-122</gadget>
<output>46</output>
46 hours left over.

<result>46</result>