#P1601. 高精度加法

高精度加法

Description

High-precision addition, equivalent to the A+B problem. Do not consider negative numbers.

Input Format

Input consists of two lines. a,b10500a,b \leq 10^{500}.

Output Format

Output a single line representing the value of a+ba+b.

1
1
2
1001
9099
10100

Hint

For 20% of the testdata, 0a,b1090\le a,b \le10^9. For 40% of the testdata, 0a,b10180\le a,b \le10^{18}.

Translated by ChatGPT 5