CF952A.Quirky Quantifiers

传统题 时间 2000 ms 内存 256 MiB 3 尝试 1 已通过 1 标签

Quirky Quantifiers

Input

The input contains a single integer a (10 ≤ a ≤ 999).

Output

Output 0 or 1.

Samples

13
1
927
1
48
0

在线编程 IDE

建议全屏模式获得最佳体验