#P290B. QR code

    普及 ID: 7481 远端评测题 2000ms 256MiB 尝试: 0 已通过: 0 难度: 5 上传者: 标签>*special problemimplementation*1500

QR code

Description

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

Output a single integer.

Input

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

Output

Output a single integer.

1 1

3 7

13 10

0

0

1