|
Time |
Memory |
| Case 1 |
1 sec |
32 MB |
| Case 2 |
1 sec |
32 MB |
| Case 3 |
1 sec |
32 MB |
| Case 4 |
1 sec |
32 MB |
Description
There are 2 positive integers A and B.
B is the number of pushing all digits of A right by 1 digit.
e.g. A = 5678, B = 8567
Please calculate the sum of A and B
Input
A is a 4-digit number
Output
A + B
Tags