Base 9 Calculator
Background:
Normally, you use base 10 to do arithmetic. In computer
science, you also deal with binary (base 2), octal (base 8),
and hex (base 16). In this problem, we'll worry about
base 9, which uses the digits 0..8.
Input:
each line of input will contain two numbers separated by
a space. Each number is in base 9. If converted to base
10, the numbers would be greater than 0, and smaller than
65000.
Output:
For each input, your program should add the two numbers together
and print the result (in base 9).
Sample Input:
148 765
111 888
8734 8345
Sample Output:
1024
1110
18180