Problem5530--巧妙的数

5530: 巧妙的数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

如果一个十进制正整数能够被它的每一个非零数码整除,则称它为巧妙的数,譬如 $102$ 是一个巧妙的数,因为 $102$ 能被 $1$ 与 $2$ 整除,而 $2021$ 不是,因为它不能被 $2$ 整除。
给定一个正整数 $n$,请判定它是否为巧妙的数。

Input

单个整数:表示 $n$。

Output

如果 $n$ 是一个巧妙的数,输出 clever;
否则,输出 not clever。

Constraints

对于 $30\%$ 的数据,$1\leq n\leq 10^9$;
对于 $60\%$ 的数据,$1\leq n\leq 10^{18}$;
对于 $100\%$ 的数据,$1\leq n\leq 10^{1000}$。

Sample 1 Input

102

Sample 1 Output

clever

Sample 2 Input

2050

Sample 2 Output

clever

Sample 3 Input

13

Sample 3 Output

not clever

Source/Category