Perfect Number
A perfect number equals the sum of its proper divisors (e.g. ). Print Yes if is perfect, else No.
Input
A single integer .
Output
Yes or No.
Constraints
Sample 1
Input
28
Output
Yes
Sample 2
Input
12
Output
No
A perfect number equals the sum of its proper divisors (e.g. ). Print Yes if is perfect, else No.
A single integer .
Yes or No.
Input
28
Output
Yes
Input
12
Output
No