#jag2017summerday3h. [jag2017summer_day3_h]Tiny Room

[jag2017summer_day3_h]Tiny Room

MathJax.Hub.Config({ tex2jax: { inlineMath: [["","",""], ["\\(","\\)"]], processEscapes: true }}); blockquote { font-family: Menlo, Monaco, "Courier New", monospace; color: #333333; display: block; padding: 8.5px; margin: 0 0 9px; font-size: 16px; line-height: 18px; background-color: #f5f5f5; border: 1px solid #ccc; border: 1px solid rgba(0, 0, 0, 0.15); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; white-space: pre; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; }

Problem Statement

You are an employee of Automatic Cleaning Machine (ACM) and a member of the development team of Intelligent Circular Perfect Cleaner (ICPC). ICPC is a robot that cleans up the dust of the place which it passed through.

Your task is an inspection of ICPC. This inspection is performed by checking whether the center of ICPC reaches all the NN given points.

However, since the laboratory is small, it may be impossible to place all the points in the laboratory so that the entire body of ICPC is contained in the laboratory during the inspection. The laboratory is a rectangle of HtimesWH \\times W and ICPC is a circle of radius RR. You decided to write a program to check whether you can place all the points in the laboratory by rotating and/or translating them while maintaining the distance between arbitrary two points.


Input

The input consists of a single test case of the following format.

NN HH WW RR x_1x\_1 y_1y\_1 vdots\\vdots x_Nx\_N y_Ny\_N

The first line consists of four integers NN, HH, WW, and RR (1leNle1001 \\le N \\le 100, 1leH,Wle1091 \\le H, W \\le 10^9, 1leRle1061 \\le R \\le 10^6). The following NN lines represent the coordinates of the points which the center of ICPC must reach. The (i+1)(i+1)-th line consists of two integers x_ix\_i and y_iy\_i (0lex_i,y_ile1090 \\le x\_i, y\_i \\le 10^9). x_ix\_i and y_iy\_i represent the xx and yy coordinates of the ii-th point, respectively. It is guaranteed that the answer will not change even if RR changes by 11.

Output

If all the points can be placed in the laboratory, print Yes. Otherwise, print No.


Sample Input 1

4 20 20 1
10 0
20 10
10 20
0 10

Output for Sample Input 1

Yes

All the points can be placed in the laboratory by rotating them through 4545 degrees.


Sample Input 2

2 5 55 1
0 0
30 40

Output for Sample Input 2

Yes

Sample Input 3

2 5 49 1
0 0
30 40

Output for Sample Input 3

No

Sample Input 4

1 3 3 1
114 514

Output for Sample Input 4

Yes