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

Input: Consider Input: Problem: you collect baseball cards . suppose you start out with 15 . maria takes half of one more than the number of baseball cards you have . since you ' re nice , you give peter 1 baseball card . since his father makes baseball cards , paul decides to triple your baseball cards . how many baseball cards do you have at the end ?

Output: 18

Input: Consider Input: Problem: line q has the equation 5 y 3 x = 30 . if line s is perpendicular to q , has an integer for its y - intercept , and intersects q in the second quadrant , then how many possible line s ' s exist ? ( note : intersections on one of the axes do not count . )

Output: 22

Input: Consider Input: Problem: how many multiples of 2 are there between 1 and 58 , exclusive ?
Output: 2