시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 814 559 519 69.946%

문제

강민이는 동생 희주를 위해 수학 문제를 만들고 있다. 희주는 매일 연습하고 열심히 공부했지만, 아직도 더하기를 끝내지 못했다.

숫자를 더할 때, 오른쪽부터 왼쪽으로 가면서 숫자를 하나씩 더한다. 그런데 희주는 귀찮아서 "받아 올림"을 하지 않고 그냥 두 숫자의 합을 적어버린다.

예를 들면, 희주는 숫자 123과 2495를 아래와 같이 더한다.

       1  2  3 
 +  2  4  9  5 
----------------
    2  5 11  8

그래서 답을 적을 때 25118을 적는 것이었다.

만약 모든 숫자를 다 이렇게 더한다면 결과가 어떻게 나오는 지 프로그램으로 작성하시오.

입력

두 정수 A, B가 공백을 두고 주어진다. A와 B는 1과 1,000,000 사이의 정수이다.

출력

희주 방식대로 더한 결과를 출력한다.

예제 입력 1

512 444

예제 출력 1

956
W3sicHJvYmxlbV9pZCI6Ijg5NDkiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWIzMDBcdWNkYTkgXHViMzU0XHVkNTc0IiwiZGVzY3JpcHRpb24iOiI8cD5cdWFjMTVcdWJiZmNcdWM3NzRcdWIyOTQgXHViM2Q5XHVjMGRkIFx1ZDc2Y1x1YzhmY1x1Yjk3YyBcdWM3MDRcdWQ1NzQgXHVjMjE4XHVkNTU5IFx1YmIzOFx1YzgxY1x1Yjk3YyBcdWI5Y2NcdWI0ZTRcdWFjZTAgXHVjNzg4XHViMmU0LiZuYnNwO1x1ZDc2Y1x1YzhmY1x1YjI5NCBcdWI5ZTRcdWM3N2MgXHVjNWYwXHVjMmI1XHVkNTU4XHVhY2UwIFx1YzVmNFx1YzJlY1x1ZDc4OCZuYnNwO1x1YWNmNVx1YmQ4MFx1ZDU4OFx1YzljMFx1YjljYywgXHVjNTQ0XHVjOWMxXHViM2M0IFx1YjM1NFx1ZDU1OFx1YWUzMFx1Yjk3YyBcdWIwNWRcdWIwYjRcdWM5YzAgXHViYW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