apps_683


Submit solution

Points: 3
Time limit: 30.0s
Memory limit: 250M

Problem type
Allowed languages
Python

-----Input-----

The input contains a single integer a (0 ≤ a ≤ 35).

-----Output-----

Output a single integer.

-----Examples-----

Input 3

Output 8

Input 10

Output 1024


Comments

There are no comments at the moment.