Limits 1s, 256 MB

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. :)

Input

The first line contains two integers A and B. A and B will contain no more than nine digits.

Output

Print the answer in a single line.

Samples

InputOutput
11 11
232
InputOutput
111111111 111111111
234567891098765432

The answers will be no more than 1018.

Submit

Login to submit.

Statistics

98% Solution Ratio
emrul_muEarliest, Jul '19
emrul_muFastest, 0.0s
emrul_muLightest, 0 B
touhidurrrShortest, 60B
Toph uses cookies. By continuing you agree to our Cookie Policy.