#include <iostream>
#include <cmath>
using namespace std;
const float PI = 3.14159;
int main()
{
int N,NUM;
float sum = 0, posX, posY, year, radius;
cin >> N;
NUM = 0;
while (N--){
NUM++;
cin >> posX >> posY;
radius = sqrt(posX*posX + posY*posY);
for (year = 1; sqrt(100.0*year / PI)<radius; year++){
}
cout << "Property " << NUM << ": This property will begin eroding in year " << year << "." << endl;
}
cout << "END OF OUTPUT." << endl;
return 0;
}