#include <bits/stdc++.h>
using namespace std;
int main()
{
long long int n;
while(cin>>n)
{
if(n==0) break;
long long int n1=sqrt(n);
if((n1*n1)==n)
{
cout<<"yes"<<endl;
}
else
cout<<"no"<<endl;
}
return 0;
}
0 Comments