#P1331C. ...And after happily lived ever they

...And after happily lived ever they

本题没有可用的提交语言。

Description

The input contains a single integer $a$ ($0 \le a \le 63$).

Output a single number.

Input

The input contains a single integer $a$ ($0 \le a \le 63$).

Output

Output a single number.

Samples

2
2
5
24
35
50