#include<bits/stdc++.h>
using namespace std;
int main ()
{
int n = 2147483647;//it's prime number!
int sqr = sqrt(n);
while (sqr * sqr > n) sqr--;
while (sqr * sqr < n) sqr++;
if(sqr * sqr == n) cout << "Square";
return 0;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluICgpCnsKICAgIGludCBuID0gMjE0NzQ4MzY0NzsvL2l0J3MgcHJpbWUgbnVtYmVyIQogICAgaW50IHNxciA9IHNxcnQobik7CiAgICB3aGlsZSAoc3FyICogc3FyID4gbikgc3FyLS07CiAgICB3aGlsZSAoc3FyICogc3FyIDwgbikgc3FyKys7CiAgICBpZihzcXIgKiBzcXIgPT0gbikgY291dCA8PCAiU3F1YXJlIjsKICAgIAoJcmV0dXJuIDA7Cn0=