John meant to divide a number by $2$, but he was careless and subtracted $2$ from the number instead.  He got an answer of $22$.  What would his answer have been had he actually divided by $2$ instead of subtracting $2$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John meant to divide a number by $2$, but he was careless and subtracted $2$ from the number instead.  He got an answer of $22$.  What would his answer have been had he actually divided by $2$ instead of subtracting $2$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
12
John meant to divide a number by $2$, but he was careless and subtracted $2$ from the number instead.  He got an answer of $22$.  What would his answer have been had he actually divided by $2$ instead of subtracting $2$?
train