Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: there is one 4 - digit whole number n , such that the last 4 digits of n 2 are in fact the original number n
