instruction:
The task is to generate the correct answer for a given math problem.
question:
Problem: if z is a multiple of 8778 , what is the remainder when z ^ 2 is divided by 9 ?
answer:
0


question:
Problem: a can do a piece of work in 80 days . he works at it for 10 days b alone finishes the remaining work in 42 days . in how much time will a and b working together , finish the work ?
answer:
30


question:
Problem: two numbers are in the ratio 3 : 4 . if their l . c . m . is 84 . what is sum of the numbers ?
answer:

49