#include <stdio.h> int main() { int n,k,i; while(scanf("%d",&n)!=EOF&&n!=0) { for(i=2;i*i<=n;i++) { if(n%(i*i)==0) { printf("Yes\n"); break; } } if(i*i>n) printf("No\n"); } return 0; }(•̀ᴗ•́)و
#include <stdio.h> int main() { int n,k,i; while(scanf("%d",&n)!=EOF&&n!=0) { for(i=2;i*i<=n;i++) { if(n%(i*i)==0) { printf("Yes\n"); break; } } if(i*i>n) printf("No\n"); } return 0; }(•̀ᴗ•́)و