#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n;
double root;
cout << "Enter The number : ";
cin>>n;
root = sqrt(n);
if (pow(root + 0.5,2) == n)
{
cout << "Perfect Square" << endl;
}
else
{
cout << "Not Perfect" << endl;
}
return 0;
}