#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int N; cin >> N;
for (int i = 1; i <= N; i++)
{
double x, y; cin >> x >> y;
int t = int((x*x + y*y)*3.1415926 / 100 + 1);
cout << "Property " << i << ": This property will begin eroding in year " << t << '.' << endl;
}
cout << "END OF OUTPUT." << endl;
return 0;
}