Given a positive integer , find a positive integer such that:
the number (the decimal representation of repeated twice) is a perfect square of some integer (see examples);
the decimal representation of has a length from to N + 23 (inclusive).
Thus, for N = 1 the condition is satisfied, for example, by K = 13223140496, since its length is , which is in the range from to , and the number is a perfect square.
A single integer is given (1 \le N \le 2323).
Print the required number . If there are several numbers satisfying the condition, output any of them. If such numbers do not exist, print 0.
Example 1