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

    ID: 5284 Type: RemoteJudge 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>*special problembitmasks

...And after happily lived ever they

No submission language available for this problem.

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