#P1145C. Mystery Circuit
Mystery Circuit
Description
The input contains a single integer $a$ ($0 \le a \le 15$).
Output a single integer.
Input
The input contains a single integer $a$ ($0 \le a \le 15$).
Output
Output a single integer.
3
13
The input contains a single integer $a$ ($0 \le a \le 15$).
Output a single integer.
The input contains a single integer $a$ ($0 \le a \le 15$).
Output a single integer.
3
13
注册一个 CZOJ 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。