Definition: The task is to generate the correct answer for a given math problem.
Input: 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 ?
Output:
12