Lifeguard

No attempts yetTime limit1sMemory limit512 MB

Problem

Children are spending their holidays at the seaside, and right now they are all bathing in the water. A lifeguard keeps them safe, and his range of sight is kk meters. Anyone located more than kk meters away from the lifeguard is invisible to him. Given the positions of the lifeguard and the children, determine how many children would not receive help if something dangerous happened.

Input

The first line contains integers nn, kk, xx, yy (1n,k1000001 \le n, k \le 100000, 0x,y100000 \le x, y \le 10000), denoting the number of children, the lifeguard's range of sight, and the lifeguard's position (x,y)(x, y), respectively. Each of the next nn lines contains two integers xix_i and yiy_i (0xi,yi100000 \le x_i, y_i \le 10000), the coordinates of the ii-th child. (The bathing area is described on a coordinate plane.)

Output

Print, on a single line, the number of children who cannot feel safe, that is, the number of children who lie outside the lifeguard's range of sight.