Problem2634--X进制整数加法

2634: X进制整数加法

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Status] [Submit] [Creator:]

Description

计算x进制整数a+b的值,( 0 <= a, b <= 10^100);

Input

第一行:一个整数x( 2 <=x<=10 || x=16),表示第二行的两个整数位x进制数。
第二行:两个用空格分割的x进制整数a和b.

Output

一行:a+b的值 (按原进制输出)

Sample Input Copy

10
10 15

Sample Output Copy

25

Source/Category