You are given a math word problem and you are supposed to make use of mathematical concepts like probability, combinatorics, linear equations, sequences/series, or simple operators like addition, subtraction, division, or multiplication to answer the given question. Choose the best option from the 5 given options and report that option.

Input: Consider Input: Question: The number of diagonals of a polygon of n sides is given by the formula z=n(n-3)/2. If a polygon has twice as many diagonals as sides, how many sides does it have?

 Option A:  3

 Option B:  5

 Option C:  6

 Option D:  7

 Option E:  8

Output: Option B


Input: Consider Input: Question: The time taken by a man to row his boat upstream is twice the time taken by him to row the same distance downstream. If the speed of the boat in still water is 42 kmph, find the speed of the stream?

 Option A: 12

 Option B: 15

 Option C: 14

 Option D: 18

 Option E: 19

Output: Option C


Input: Consider Input: Question: A began a business with Rs. 85,000. He was joined afterwards by B with Ks. 42,500. For how much period does B join, if the profits at the end of the year are divided in the ratio of 3 : 1 ?

 Option A: 6 months

 Option B: 3 months

 Option C: 2 months

 Option D: 8 months

 Option E: 9 months


Output: Option D