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: a certain sum of money is divided among a, b and c such that a gets one - third of what b and c together get and b gets two - seventh of what a and c together get. if the amount received by a is $ 15 more than that received by b, find the total amount shared by a, b and c.
Options: a. $ 250, b. $ 340, c. $ 640, d. $ 440, e. $ 540
Output:
e