The task is to generate the correct answer for a given math problem.
One example is below.
Q: a multiple choice test consists of 4 questions, and each question has 5 answer choices. in how many r ways can the test be completed if every question is unanswered ?
A: 625
Rationale: Total r of 5 * 5 * 5 * 5 = 5 ^ 4 = 625 ways to answer all of them. Therefore, the answer is 625.
Q: Problem: 387 x 387 + 114 x 114 + 2 x 387 x 114 = ?
A:
251001