codeforces#P1952C. They Have Fooled

    ID: 34555 远端评测题 1000ms 256MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>bitmasksbrute forcechinese remainder theoremdpdsu

They Have Fooled

Description

The first line contains one integer $n$ ($0 \leq n \leq 12$).

One integer — the answer.

Input

The first line contains one integer $n$ ($0 \leq n \leq 12$).

Output

One integer — the answer.

0
1
5
9
10
10
7
0