#Lutece1519. Picking&Dancing
Picking&Dancing
Migrated from Lutece 1519 Picking&Dancing
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
Yitong_Qin and Xiaoyu_Chen are playing a game.There are stones placed on the ground,forming a sequence.Thr stones are labeled from 1 to N. Yitong_Qin and Xiaoyu_Chen in turns take exactly two consecutive stones on the ground until there are no consecutive stones on the ground.That is,each player can take stone and stone ,where .If the number of stones left is odd,Yitong_Qin wins ,so Xiaoyu_Chen has to dance.Otherwise Xiaoyu_Chen wins Yitong_Qin has to dance.
Input
The input contains an integer ,the number of stones.
Output
Output the guy has to dance.
Samples
Resources
第八届ACM趣味程序设计竞赛第四场(正式赛)