#include <bits/stdc++.h> using namespace std; int main(){ int n; while(cin>>n){ if(n==0)break; double num=sqrt(n); // 計算平方根 if(num==int(num)){ // 判斷平方根是否為整數 cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } } return 0; }