#include<iostream>
#include<cmath>
using namespace std;
const double PI=3.1415926;
int main()
{
int count;
cin>>count;
double x,y;
int i=0;
while (i++<count)
{
cin>>x>>y;
cout<<"Property "<<i<<": This property will begin eroding in year "<<ceil(PI*(x*x+y*y)/2/50)<<"."<<endl;
}
cout<<"END OF OUTPUT.";
}
#include<cmath>
using namespace std;
const double PI=3.1415926;
int main()
{
int count;
cin>>count;
double x,y;
int i=0;
while (i++<count)
{
cin>>x>>y;
cout<<"Property "<<i<<": This property will begin eroding in year "<<ceil(PI*(x*x+y*y)/2/50)<<"."<<endl;
}
cout<<"END OF OUTPUT.";
}