#include<cmath>
#include<cstdio>
#include<string>
#include<cstring>
#include<iostream>
#include<algorithm>
#define PI 3.141593
using namespace std;
int n;
double s,x,y;
int main(){
scanf("%d",&n);
for(int i=1;i<=n;i++){
scanf("%lf%lf",&x,&y);
s=(x*x+y*y)*PI/2;
int ans=s/50+1;
printf("Property %d: This property will begin eroding in year %d.\n",i,ans);
}
puts("END OF OUTPUT.");
return 0;
}
