#include<iostream>
using namespace std;
const double PI = 3.141592535;//可以AC,这么多位数够用了
int main()
{
int n; //有n个选址
cin >> n;
for(int i = 1;i <= n;i++)
{
double x,y;//横坐标,纵坐标
cin >> x >> y;
double rs = (x*x+y*y);//勾股定理,斜边的平方等于两直角边平方的和
int S = PI*rs/100+1;//当作一个圆的面积,除以100后加一取整就是年份
printf("Property %d: This property will begin eroding in year %d.\n",i,S);
}
cout << "END OF OUTPUT." << endl;
return 0;
}