#include<bits/stdc++.h> using namespace std; int t=1; int main(){ for(int j=1;j<=100;j++){ if(j==t*t){ printf("%d ",j) ; t++; } } return 0; }