Preparando MOJI
The non-negative integer a is a divisor of the non-negative integer b if and only if there exists a positive integer c such that a × c = b.
Some numbers are really interesting. Commander Surena defines some interesting properties for non-negative integers:
Surena asks you to find out if a given number is happy, happier or upset.
Input contains a single non-negative integer n (1 ≤ n ≤ 108).
Write on a single line the type of the integer: happy, happier or upset. Print the type in lowercase letters.
99
happier
29994
happy
23
upset
In the second test 29994 is only divisible by 2.
In the third test 23 is a prime number.