# Armstrong Numbers

For a given** 3 **digit number, find whether it is armstrong number or not. An **Armstrong number** of three digits is an integer such that the sum of the cubes of its digits is equal to the **number** itself. For example, 371 is an **Armstrong number** since 3^{3} + 7^{3 }+ 1^{3} = 371

**Input:****T**‘. T testcases follow. Each test case contains a positive integer **N**.**Output:**

For each **Yes**” if it is **No**“.**Constraints:**

1 <= T <= 31

100 <= N < 1000**Example:****Input:**

1

371**Output:**

Yes