Definition: Given a math problem with context and a question and 5 answer choices, the task is to provide the correct answer choice based on the problem. You must choose one of the given answer choices by letter: a, b, c, d, or e; anything else is invalid.
Input: Problem: each week, harry is paid x dollars per hour for the first 30 hours and 1.5 x dollars for each additional hour worked that week. each week, james is paid x dollars per hour for the first 40 hours and 2 x dollars for each additional hour worked that week. last week james worked a total of 50 hours. if harry and james were paid the same amount last week, how many hours did harry work last week ?
Options: a. 35, b. 36, c. 37, d. 38, e. 50
Output:
e