A and B have a total of 30 yuan. After A gives B 5 yuan, A will have 2 yuan more than B. How much money did Jia have?
甲、乙两人共有30元钱，甲给乙5元后，甲比乙还多2元钱．那甲原来有多少元钱．
<gadget id="calculator">5 * 2</gadget>
<output>10</output>

<gadget id="calculator">10 + 2</gadget>
<output>12</output>

<gadget id="calculator">30 - 12</gadget>
<output>18</output>

<gadget id="calculator">1 + 1</gadget>
<output>2</output>

<gadget id="calculator">18 / 2</gadget>
<output>9</output>

<gadget id="calculator">9 + 12</gadget>
<output>21</output>

<result>21</result>