cho.sh
Notes
Loading...

Binary Addition

Time limit

2s

Memory limit

128 MB

Problem

Two binary numbers are given. Write a program that prints their sum in binary.

Input

The first line contains two binary numbers A and B separated by a space. Each number consists only of the characters 0 and 1, may start with 0, and has length between 1 and 80 inclusive.

Output

Print A+B in binary on the first line. If the sum is 0, print 0; otherwise, print it without unnecessary leading zeroes.