#include <stdio.h>
#include <stdlib.h>
int IsSquare(int n);
int main()
{
int n ,flag = 0 ;
printf("input n: ");
scanf("%d",&n);
flag = IsSquare(n);
if(flag)
printf("YES\n");
else
printf("NO\n");
return 0;
}
int IsSquare(int n)
{
int i,flag = 0;
for(i = 0; i<= n;i++)
{
if(i * i == n)
flag = 1;
}
return flag;
}