The task is to generate the correct answer for a given math problem.

[Q]: Problem: amit and ananthu can do a work in 10 days and 20 days respectively . amit started the work and left after 2 days . ananthu took over and completed the work . in how many days was the total work completed ?
[A]: 18 days


[Q]: Problem: a jogger running at 9 kmph along side a railway track is 260 metres ahead of the engine of a 120 metre long train running at 45 kmph in the same direction . in how much time will the train pass the jogger ?
[A]: 38 sec


[Q]: Problem: a student got twice as many sums wrong as he got right . if he attempted 36 sums in all , how many did he solve correctly ?
[A]:
12