欢迎来到起遇信息学
起遇信息学正处于上线筹建阶段,以下功能已全部开放免费体验: ✅ 完整题库浏览与代码提交评测(C / C++ / Python / Java 等) ✅ 入门到进阶的系列课程试读、作业与考试 ✅ AI 提示、AI 作业分析等智能助教功能 ✅ 赛事模拟与个人能力报告 ✅ 邮箱注册开放 ⏳ 付费课程订阅与微信/支付宝支付通道 ⏳ 手机号登录,微信扫码登录、微信公众号绑定 使用中如遇任何问题,欢迎通过页面底部 **"联系我们"** 与我们沟通。
CF2033A.Sakurako and Kosuke
Sakurako and Kosuke
Sakurako and Kosuke decided to play some games with a dot on a coordinate line. The dot is currently located in position . They will be taking turns, and Sakurako will be the one to start.
On the -th move, the current player will move the dot in some direction by units. Sakurako will always be moving the dot in the negative direction, whereas Kosuke will always move it in the positive direction.
In other words, the following will happen:
- Sakurako will change the position of the dot by , now
- Kosuke will change the position of the dot by , now
- Sakurako will change the position of the dot by , now
They will keep on playing while the absolute value of the coordinate of the dot does not exceed . More formally, the game continues while . It can be proven that the game will always end.
Your task is to determine who will be the one who makes the last turn.
Input
The first line contains one integer () — the number of games that Sakurako and Kosuke played.
Each game is described by one number () — the number that defines the condition when the game ends.
Output
For each of the games, output a line with the result of that game. If Sakurako makes the last turn, output "Sakurako" (without quotes); else output "Kosuke".
Samples
4
1
6
3
98
Kosuke
Sakurako
Kosuke
Sakurako
在线编程 IDE
建议全屏模式获得最佳体验
| 进入全屏编程 | Alt+E |
| 递交评测 | Ctrl+Enter |
| 注释/取消注释 | Ctrl+/ |
| 缩放字体 | Ctrl+滚轮 |