/*********************************
* 日期:2011-3-7
* 作者:SJF
* 题号:杭电1065
* 题目:I Think I Need a Houseboat
* 结果:AC
* 总结:
**********************************/
#include<stdio.h>
#define PI 3.1415926
int main()
{
int N;
while(scanf("%d",&N)!=EOF)
{
int i,l;
double X,Y;
for(i=1;i<=N;i++)
{
scanf("%lf %lf",&X,&Y);
l=(int)(0.5*PI*(X*X+Y*Y)/50.0);
printf("Property %d: This property will begin eroding in year %d.\n",i,l+1);
if(i==N)
{
printf("END OF OUTPUT.\n");
}
}
}
return 0;
}