#define _CRT_SECURE_NO_WARNINGS #include using namespace std; #define PI 3.14159265359 #define eps 1e-7 #define mp make_pair #define pb push_back #define FOR(i,a,b) for(int i=a;i> n >> x >> y >> r; int cc=0; while(n--){ ll xi,yi; cin >> xi >> yi; ll tmp=hypot(xi-x,yi-y); if(tmp<=r) cc++; } cout << cc << endl; return 0; }