#P290B. QR code

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<br>
3 7<br>
13 10<br>
0<br>
0<br>
1<br>