Farmer Bob has two numbers
Constraints
For all subtasks:
will not exceed the number of digits in .
Points Awarded | Additional Constraints |
---|---|
2 points | |
6 points | |
7 points | No further constraints |
Input Specification
The first line contains three integers
The next
Output Specification
Output
Sample Input
Copy
3 4 2
1
5
Sample Output
Copy
9
0
Explanation for Sample
Since
Comments