#P290B. QR code

    ID: 2646 Type: RemoteJudge 2000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>*special problemimplementation*1500

QR code

No submission language available for this problem.

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.

Samples

1 1

0

3 7

0

13 10

1