#include <cstdio>
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
using namespace std;
typedef vector< int > VI;
typedef vector < double > VD;
typedef long long LL;
#define FOR(x, b, e) for(int x=b; x<=(e); ++x)
#define FORD(x, b, e) for(int x=b; x>=(e); ––x)
#define REP(x, n) for(int x=0; x<(n); ++x)
#define VAR(v,n) typeof(n) v=(n)
#define ALL(c) c.begin(),c.end()
#define SIZE(x) (int)x.size()
#define FOREACH(i,c) for(VAR(i,(c).begin());i!=(c).end();++i)
#define PB push_back
#define ST first
#define ND second
double d( double x1, double y1, double x2, double y2)
{
return sqrt ( ( x1- x2) * ( x1- x2) + ( y1- y2) * ( y1- y2) ) ;
}
int main( )
{
ios_base:: sync_with_stdio ( 0 ) ;
double gopherX, gopherY, dogX, dogY, x, y;
int n, licz;
while ( cin >> n>> gopherX>> gopherY>> dogX>> dogY)
{
licz = 0 ;
REP( i, n)
{
cin >> x>> y;
if ( 2 * d( gopherX, gopherY, x, y) < d( dogX, dogY, x, y) )
{
printf ( "The gopher can escape through the hole at (%.3lf,%.3lf).\n " , x, y) ;
break ;
}
licz++ ;
}
if ( licz == n) cout << "The gopher cannot escape.\n " ;
}
return 0 ;
}
I2luY2x1ZGUgPGNzdGRpbz4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8Y21hdGg+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdHlwZWRlZiB2ZWN0b3I8aW50PiBWSTsKdHlwZWRlZiB2ZWN0b3IgPGRvdWJsZT4gVkQ7CnR5cGVkZWYgbG9uZyBsb25nIExMOwoKI2RlZmluZSBGT1IoeCwgYiwgZSkgZm9yKGludCB4PWI7IHg8PShlKTsgKyt4KQojZGVmaW5lIEZPUkQoeCwgYiwgZSkgZm9yKGludCB4PWI7IHg+PShlKTsg4oCT4oCTeCkKI2RlZmluZSBSRVAoeCwgbikgZm9yKGludCB4PTA7IHg8KG4pOyArK3gpCiNkZWZpbmUgVkFSKHYsbikgdHlwZW9mKG4pIHY9KG4pCiNkZWZpbmUgQUxMKGMpIGMuYmVnaW4oKSxjLmVuZCgpCiNkZWZpbmUgU0laRSh4KSAoaW50KXguc2l6ZSgpCiNkZWZpbmUgRk9SRUFDSChpLGMpIGZvcihWQVIoaSwoYykuYmVnaW4oKSk7aSE9KGMpLmVuZCgpOysraSkKI2RlZmluZSBQQiBwdXNoX2JhY2sKI2RlZmluZSBTVCBmaXJzdAojZGVmaW5lIE5EIHNlY29uZAoKZG91YmxlIGQoZG91YmxlIHgxLCBkb3VibGUgeTEsIGRvdWJsZSB4MiwgZG91YmxlIHkyKQp7CiAgICByZXR1cm4gc3FydCgoeDEteDIpKih4MS14MikrKHkxLXkyKSooeTEteTIpKTsKfQoKaW50IG1haW4oKQp7CiAgICBpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKDApOwoKICAgIGRvdWJsZSBnb3BoZXJYLCBnb3BoZXJZLCBkb2dYLCBkb2dZLCB4LCB5OwogICAgaW50IG4sIGxpY3o7CgogICAgd2hpbGUoY2luPj5uPj5nb3BoZXJYPj5nb3BoZXJZPj5kb2dYPj5kb2dZKQogICAgewogICAgICAgIGxpY3ogPSAwOwogICAgICAgIFJFUChpLCBuKQogICAgICAgIHsKICAgICAgICAgICAgY2luPj54Pj55OwoKICAgICAgICAgICAgaWYoMipkKGdvcGhlclgsIGdvcGhlclksIHgsIHkpIDwgZChkb2dYLCBkb2dZLCB4LCB5KSkKICAgICAgICAgICAgewogICAgICAgICAgICAgICAgcHJpbnRmKCJUaGUgZ29waGVyIGNhbiBlc2NhcGUgdGhyb3VnaCB0aGUgaG9sZSBhdCAoJS4zbGYsJS4zbGYpLlxuIiwgeCwgeSk7CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgICAgICBsaWN6Kys7CiAgICAgICAgfQogICAg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
0
6
0
6
3
8
2
5
3
5
4
1
0
3
3
6
2
0
3
5
10 6 0 9 3
0
6
3
4
4
0
8
3
4
2
9
9
1
8
3
9
3
2
3
0
10 2 4 8 7
2
9
3
7
9
4
2
0
3
6
9
0
7
7
4
0
8
8
8
1
10 6 3 4 2
2
9
5
3
4
4
3
2
7
9
5
4
2
8
5
6
2
8
0
6
10 7 5 0 5
4
1
3
9
8
3
3
9
6
1
4
9
6
4
7
5
7
0
6
1
stdout
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher cannot escape.
The gopher can escape through the hole at (0.000,3.000).
The gopher can escape through the hole at (0.000,8.000).
The gopher can escape through the hole at (4.000,1.000).
The gopher can escape through the hole at (3.000,4.000).
The gopher can escape through the hole at (2.000,9.000).
The gopher can escape through the hole at (6.000,9.000).
The gopher can escape through the hole at (7.000,9.000).
The gopher can escape through the hole at (3.000,3.000).
The gopher can escape through the hole at (7.000,0.000).