#include <iostream>
using namespace std;
int main() {
long long n;
cin >> n;
long long x=2;
while (x*x<=n) {
cout<<x*x<<endl;
x++;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglsb25nIGxvbmcgbjsKICAgIGNpbiA+PiBuOwogICAgbG9uZyBsb25nIHg9MjsKICAgIHdoaWxlICh4Kng8PW4pIHsKICAgIAljb3V0PDx4Kng8PGVuZGw7CiAgICAJeCsrOwogICAgfQogICAgcmV0dXJuIDA7Cn0=