class p{ public static void main(String[]a){ int t=0,z,n; for(n=10000;n>1;n--){ for(z=2;zn?0:n; } } System.out.print(t); } }