Laticia knitted 4 pairs of socks for her nephew. She did such a good job that everyone asked her to start selling them. In the first week, she knitted 12 pairs of socks. In the second week, she knitted 4 more pairs than the week before. On the third week, she only knitted half of the total of the first two weeks. In the fourth week, she knitted 3 fewer pairs than the week before. How many pairs of socks did Laticia knit altogether?
In the second week, she knitted 12 + 4 = 
<gadget id="calculator">12+4</gadget>
<output>16</output>
16 pairs of socks.
In the first two weeks, she knitted 12 + 16 = 
<gadget id="calculator">12+16</gadget>
<output>28</output>
28 pairs of socks.
On the third week, she knitted 28/2 = 
<gadget id="calculator">28/2</gadget>
<output>14</output>
14 pairs of socks.
On the fourth week, she knitted 14 - 3 = 
<gadget id="calculator">14-3</gadget>
<output>11</output>
11 pairs of socks.
Altogether, Laticia knitted 4 + 12 + 16 +14 + 11 = 
<gadget id="calculator">4+12+16+14+11</gadget>
<output>57</output>
57 pairs of socks.

<result>57</result>