Problem J: 发牌

Problem J: 发牌

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

Description

有 lns="http://www.w3.org/1998/Math/MathML">n 张牌,在一开始,牌是整理好顺序的,从牌堆顶部开始向下数,第 lns="http://www.w3.org/1998/Math/MathML">i 张牌的编号为 lns="http://www.w3.org/1998/Math/MathML">i。接下来,小爱不断重复以下动作,直到所有牌发完为止:

  • 先换牌:将堆顶的第一张牌,移动到牌堆底部;
  • 再发牌:将堆顶的第一张牌,发到玩家手中。

请按照顺序输出玩家收到的牌编号。

Input

  • 单个整数表示 lns="http://www.w3.org/1998/Math/MathML">n

  •  的数据 lns="http://www.w3.org/1998/Math/MathML">1n100
  • lns="http://www.w3.org/1998/Math/MathML">100% 的数据 lns="http://www.w3.org/1998/Math/MathML">1n200,000


Output

 行:每行一个数,表示玩家收到牌的编号序列

Sample Input Copy

6

Sample Output Copy

2
4
6
3
1
5