The proper divisors of a number are all the positive divisors of that are smaller than . For instance, the proper divisors of 20 are 1, 2, 4, 5, and 10. In this problem, we will say that a number is pseudoperfect if it can be obtained by adding up some of (or all) its proper divisors. For instance, 20 is pseudoperfect, because .
Write a program that, for every given number ,
if has more than 15 proper divisors, prints how many it has;
if has 15 or less proper divisors, tells if is pseudoperfect or not.
Input consists of several strictly positive natural numbers.
For every given , print its number of proper divisors, if this is larger than 15. Otherwise, tell if is pseudoperfect or not. Follow the format of the example.
Input
1 6 10 20 210 2310 65536 1000000000 999999996 999999937 999999936
Output
1 : NOT pseudoperfect 6 : pseudoperfect 10 : NOT pseudoperfect 20 : pseudoperfect 210 : pseudoperfect 2310 : 31 proper divisors 65536 : 16 proper divisors 1000000000 : 99 proper divisors 999999996 : pseudoperfect 999999937 : NOT pseudoperfect 999999936 : 167 proper divisors