Instructions: The task is to generate the correct answer for a given math problem.
Input: Problem: half a number plus 7 is 17 . what is the number ?
Output:
2