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

Example Input: Problem: what is the units digit of 26 ! + 50 ! + 4 ! + 4 ! ?
Example Output: 8

Example Input: Problem: the mean daily profit made by a shopkeeper in a month of 30 days was rs . 350 . if the mean profit for the first fifteen days was rs . 255 , then the mean profit for the last 15 days would be
Example Output: rs . 445

Example Input: Problem: a clock shows the time as 10 a . m . if the minute hand gains 5 minutes every hour , how many minutes will the clock gain by 6 p . m . ?
Example Output:
40 minute