• محدودیت زمان: ۱ ثانیه
  • محدودیت حافظه: ۲۵۶ مگابایت

Sara wants to entertain her niece with nn coins she has in her pocket. To do this, she arranges a game. In this game, several coins should initially be placed on the table. Then, in each turn, a player must remove either 11 or exactly 44 coins from the table and pass the turn to the other player. The winner is the person who takes the last coin or coins. Sara, due to her love for her niece, allows her niece to start the game. Help Sara determine whether she can definitely win the game by placing all her coins on the table or not.

ورودی

The input consists of a single integer nn (1n1018)(1 \leq n \leq 10^{18}), which represents the number of coins Sara has.

خروجی

In the only line of output, print Yes if Sara has a guaranteed winning strategy, and No otherwise.

ورودی نمونه 1

1
Plain text

خروجی نمونه 1

No
Plain text

ورودی نمونه 2

2
Plain text

خروجی نمونه 2

Yes
Plain text

ارسال پاسخ برای این سؤال
فایلی انتخاب نشده است.