1031: The Smartest Guy in HHU

[命题人 : ]

题目描述

Alice and Bob are all very smart guys in HHU and one day they asked Calvin to tell who is smarter. However later that day Alice came to Calvin Neo, gave him some money and asked him to hard point(钦定) her to be the smarter. Because the money was so much that Calvin no longer need to move bricks(搬砖) to feed himself so they made a transaction.
The next day, Calvin introduce a game to Alice and Bob. In this game, Alice and Bob take turns to multiply an integer p by integer from 2 to 9. In each round, Alice always starts with p = 1, does her multiplication, then Bob multiplies the number, then Alice and so on. Before a game starts, Calvin decides an integer 1 < n < 4294967295 and the winner is who first reaches p >= n. Because both Alice and Bob are smart, so they all play perfectly.

输入

one line for one case with a integer n

输出

"yes" if Alice can win, "no" otherwise

样例输入 Copy

162
17
34012226

样例输出 Copy

yes
no
yes