Samy is very good at math. He is so intelligent that he can multiply
big numbers very fast. One day his friend PJ told him to multiply some numbers and then Samy multiplied all the numbers quite easily.
PJ wrote two integers A and B. The digits of the integers are consisting of only 1’s and A is equal to B (A = B).
Now, it’s your turn to add 1 with each of the digit of Samy's answer.
Hope you can do it. :)
The first line contains two integers A and B. A and B will contain no more than nine digits.
Print the answer in a single line.
Input | Output |
---|---|
11 11 | 232 |
Input | Output |
---|---|
111111111 111111111 | 234567891098765432 |
The answers will be no more than 1018.