LearnPy Hub
← Arena
EasyRating 1000

Long Addition by Hand

Add two non-negative numbers given as strings of up to 2000 digits without converting the whole number with int(); add digit by digit.

Input

Two lines.

Output

The sum.

Sample 1

Input
123
989
Output
1112

Sample 2

Input
0
0
Output
0
solution.py
Output appears here
Long Addition by Hand · Python Arena problem · LearnPy Hub