import java.util.Scanner;class Main{public static void main(String[] a){Scanner s=new Scanner(System.in);int n=s.nextInt();int d=s.nextInt();int k=0;for(;n>0;n--){if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;}System.out.print(k);}} import java.util.Scanner; Scanner java.util class Main{public static void main(String[] a){Scanner s=new Scanner(System.in);int n=s.nextInt();int d=s.nextInt();int k=0;for(;n>0;n--){if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;}System.out.print(k);}} Main public static void main(String[] a){Scanner s=new Scanner(System.in);int n=s.nextInt();int d=s.nextInt();int k=0;for(;n>0;n--){if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;}System.out.print(k);} main {Scanner s=new Scanner(System.in);int n=s.nextInt();int d=s.nextInt();int k=0;for(;n>0;n--){if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;}System.out.print(k);} Scanner s=new Scanner(System.in); s new Scanner(System.in) int n=s.nextInt(); n s.nextInt() s.nextInt s int d=s.nextInt(); d s.nextInt() s.nextInt s int k=0; k 0 for(;n>0;n--){if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;} ; n>0 n 0 n-- n-- n {if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;} {if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;} if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++; Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2)) Math.sqrt Math Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2) Math.pow(s.nextInt(),2) Math.pow Math s.nextInt() s.nextInt s 2 Math.pow(s.nextInt(),2) Math.pow Math s.nextInt() s.nextInt s 2 d k++ k System.out.print(k) System.out.print System.out System System.out k String[] a a
import java.util.Scanner;class Main{public static void main(String[] a){Scanner s=new Scanner(System.in);int n=s.nextInt();int d=s.nextInt();int k=0;for(;n>0;n--){if(Math.sqrt(Math.pow(s.nextInt(),2)+Math.pow(s.nextInt(),2))<=d)k++;}System.out.print(k);}}