Skip to content
UPEEC

Perfect Number

Easy#math#divisors· solved by 0 · time limit 2.0 s

A perfect number equals the sum of its proper divisors (e.g. 28=1+2+4+7+1428 = 1+2+4+7+14). Print Yes if nn is perfect, else No.

Input

A single integer nn.

Output

Yes or No.

Constraints

1≤n≤10101 \le n \le 10^{10}

Sample 1

Input

28

Output

Yes

Sample 2

Input

12

Output

No

Sign in or join free to run and submit your solution.