#P290A. Mysterious strings

    ID: 2645 Type: RemoteJudge 2000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>*special problemimplementation*1400

Mysterious strings

No submission language available for this problem.

Description

The input contains a single integer a (1 ≤ a ≤ 40).

Output a single string.

Input

The input contains a single integer a (1 ≤ a ≤ 40).

Output

Output a single string.

Samples

2

Adams

8

Van Buren

29

Harding