The following languages are additionally available for the problems from the contest

April Fools Day Contest 2014:

- Mysterious Language

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

F. 000001

time limit per test

1 secondmemory limit per test

256 megabytesinput

standard inputoutput

standard outputInput

The input contains a single integer *a* (1 ≤ *a* ≤ 64).

Output

Output a single integer.

Examples

Input

2

Output

1

Input

4

Output

2

Input

27

Output

5

Input

42

Output

6

Codeforces (c) Copyright 2010-2019 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Nov/13/2019 11:23:42 (h3).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|