e-olymp
Competitions

PP2. Week 8: April 26 - May 2

The square of a number

The number n is written k times. The resulting number is multiplied by itself. What is the result?

Input

The first number contains nonnegative integer n (n777). The second line contains positive integer k (k777).

Output

Print the resulting number.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1
2
Output example #1
121
Input example #2
12
3
Output example #2
14692348944