13589 - little kai's treat   

Description

Little kai the shitzu really like treats. To get a treat he must do a trick. 

Being the smart boy he is, his mama wants him to figure out whether a number is a special number.

A special number is a number whose sum of its digits cubed is equal to the number itself.

For example:

0, because 0 = 03

1, because 1 = 13

153, because 153 = 1+ 5+ 33

370, because 370 = 3+ 7+ 03

 

Input

Commands separated by a newline character.

Note that:

Each command is a positive integer n

0 < n <1000

Output

If it is a special number, output  "Yes it is."

If not, output "No it is not."

You need to print a newline character at the end of each line. ('\n')

Sample Input  Download

Sample Output  Download

Tags




Discuss