#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
int n=0,l=0;
double m=0;
while(1)
{
n++;
m=sqrt(n+100);
l=sqrt(n+100);
if(m==l)
{
m=sqrt(n+268);
l=sqrt(n+268);
if(m==l)
{
printf("%d",n);
break;
}
}
}
return 0;
}
/**************************************************************
Problem: 1267
User: admin
Language: C
Result: Runtime Error
****************************************************************/