#include<iostream>
using namespace
std;
int main(){
float x,y;//坐标
int testcase,t=0;
cin>>testcase;
while(testcase){
cin>>x>>y;
++t;
cout<<"Property
"<<t<<": This property will begin eroding in year
"<<(int)(3.1415926*(x*x+y*y)/100+1)<<"."<<endl;
--testcase;
}
cout<<"END OF
OUTPUT."<<endl;
return 0;
}