#45523: Andrew Wiggins,我愛你


1121226@stu.wghs.tp.edu.tw (Arthur✨EC)


#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;
}