#include<iostream>
#include<math.h>
#define PI 3.1415926
using namespace std;
int main(){
int n;
double x,y;
int z;
double s;
int i=1;
cin>>n;
while(n--){
cin>>x>>y;
s=PI*(x*x+y*y)/2;
z=(int)(s/(double)50+1);
cout<<"Property "<<i<<": This property will begin eroding in year "<<z<<"."<<endl;
i++;
}
cout<<"END OF OUTPUT."<<endl;
return 0;
}