Four Numbers

No attempts yetTime limit1sMemory limit256 MB

Problem

You are given four natural numbers AA, BB, CC, DD. Write a program that computes the sum of the number formed by joining AA and BB and the number formed by joining CC and DD.

Joining two numbers means writing the second one directly after the first one, digit for digit. For example, joining 2020 and 3030 gives 20302030.

Input

The first line contains four natural numbers AA, BB, CC, DD, separated by spaces. (1A,B,C,D1,000,0001 \le A, B, C, D \le 1{,}000{,}000)

Output

Print, on one line, the sum of the number formed by joining AA and BB and the number formed by joining CC and DD.