There were sweets on the table. Jack came and took half of all the candies and 4 more candies. Then Paul came and took the remaining 7 sweets. How many sweets were on the table at first?
Jack took 4 more candies than the half, and Paul took the rest, which means 7 + 4 = 11 candies were half of all candies.
That means at first there were 11 * 2 = 
<gadget id="calculator">11*2</gadget>
<output>22</output>
22 candies.

<result>22</result>