- محدودیت زمان: ۱ ثانیه
- محدودیت حافظه: ۲۵۶ مگابایت
After burning down their own house, Pat & Mat decided to play a game in order to forget their misery. The rules of the game are simple. There are stones on the table. Pat & Mat play alternatively. Pat plays first. At each turn, they can either remove or or or or or stones from the table. The player who can't perform any legal move in his turn, will lose the game. Given the number , determine which of the brothers will win the game if they play optimally.
ورودی
The input consists of a single integer denoting the number of stones.
خروجی
Print the name of the winner in a single line.
مثالها
ورودی نمونه ۱
خروجی نمونه ۱
ورودی نمونه ۲
خروجی نمونه ۲
ارسال پاسخ برای این سؤال