#include "iostream"
#include <cmath>
using namespace std;
int main()
{
int i=0; //用于穷举
int count =0; //用于计数
while(1)
{
double temp1 = i+100;
double temp2 = i+100 +168;
if(sqrt(temp1)*sqrt(temp1) == temp1 && sqrt(temp2)*sqrt(temp2) == temp2) // sqrt(9)*sqrt(9) = 9;
{
count++; //找到一个计数加1
cout<<i <<endl;
}
if(count == 3)
{
break;
}
i++;
}
return 0;
}