A number is known as an Armstrong number if the sum of the cubes of all its digits is equal to the number itself.
The first line contains T denoting the no. of test cases.
Next T lines each containing a number.
T lines each containing "Yes" (if number is an Armstrong Number) or "No" (if the number is not an armstrong number).
3
1
12
153
Yes
No
Yes
13 = 1
13 + 23 != 12
13 + 53 + 33 = 153