Problem1735--2017 狮山镇 3.报数游戏(game) 五年级

1735: 2017 狮山镇 3.报数游戏(game) 五年级

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

班里举行一次趣味游戏,全班学生排成一排后按 1、2、1 的节奏报数。现在,小明想知道自己所排的位置 k 要报什么数?

Input

输入文件 game.in:输入文件只有一个位置 k;(1≤k≤100)。

Output

输出文件 game.out:输出小明要报的数。

Sample Input Copy

8

Sample Output Copy

2

Source/Category