#include<cmath>
#include<cstdio>

int P[4]={1,10,100,1000};

int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    int c=a*P[int(log10(b))+1]+b;
    if(sqrt(c)==int(sqrt(c))) printf("Yes");
    else printf("No");
}

### Prompt

Please create a solution in Cpp to the following problem:

AtCoDeer the deer has found two positive integers, a and b. Determine whether the concatenation of a and b in this order is a square number.

Constraints

* 1 ≤ a,b ≤ 100
* a and b are integers.

Input

Input is given from Standard Input in the following format:


a b


Output

If the concatenation of a and b in this order is a square number, print `Yes`; otherwise, print `No`.

Examples

Input

1 21


Output

Yes


Input

100 100


Output

No


Input

12 10


Output

No

### Response

```cpp
#include<cmath>
#include<cstdio>

int P[4]={1,10,100,1000};

int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    int c=a*P[int(log10(b))+1]+b;
    if(sqrt(c)==int(sqrt(c))) printf("Yes");
    else printf("No");
}

```