【例16.2】 开灯

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

小蓝家的灯是线型开关的,拉一次灯开,再拉一次灯关,未拉之前是熄灭状态。
输入一个正整数 MM(1 < M < 100),作为小蓝拉灯的次数,判断拉灯 MM 次后,灯是点亮状态还是熄灭状态。

输入格式

输入一个正整数 MM 作为拉灯的次数(1<M<1001 < M < 100)。

输出格式

如果灯是点亮状态输出整数 11,如果灯是熄灭状态输出整数 00

样例

5
1

6月30日1340

Not Claimed
Status
Done
Problem
29
Open Since
2024-6-30 0:00
Deadline
2024-7-8 23:59
Extension
24 hour(s)