especially for Ainura

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#include <iostream>
using namespace std;
int main(){
int a;
cin>>a;
for(int i = 1; i <= a; i++)
{
if (i * i <= 15)cout << i * i << "\n";
}
return 0;
}