Daffodil number

The daffodil number is one of the famous interesting numbers in the mathematical world. A daffodil number is a three-digit number whose value is equal to the sum of cubes of each digit.

For example. 153 is a daffodil as 153 = 13 + 53 + 33.

Input

There are several test cases in the input, each case contains a three-digit number.

Output

One line for each case. if the given number is a daffodil number, then output "Yes", otherwise "No".

Sample Input

153
610
Sample Output

Yes
No

http://blog.sina.com.cn/s/blog_72b77c2e0100rj8v.html

http://blog.csdn.net/acm_1361677193/article/details/43056955