codeforces#P171A. Mysterious numbers - 1

    ID: 25872 远端评测题 2000ms 256MiB 尝试: 0 已通过: 0 难度: 4 上传者: 标签>*special problemconstructive algorithms*1200

Mysterious numbers - 1

Description

The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space.

Output a single integer.

Input

The input contains two integers a1, a2 (0 ≤ ai ≤ 109), separated by a single space.

Output

Output a single integer.

Samples

3 14

44

27 12

48

100 200

102