LearnPy Hub
← Arena
IntermediateRating 1100

Adding Binary Numbers

Add two binary numbers given as strings and print the sum in binary. Do it digit by digit (the numbers can be long).

Input

Two lines of 0s and 1s (up to 1000 digits).

Output

One binary string.

Sample 1

Input
11
1
Output
100

Sample 2

Input
1010
1011
Output
10101
solution.py
Output appears here
Adding Binary Numbers · Python Arena problem · LearnPy Hub