Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: how many 3 - digit numbers abc , in which a , b , and c are each digits , satisfy the equation 2 b = a + c ?
