/**
*
*/
package com.test;
/**
- @author QJ的
*/
public class Testone {
public static void main(String[] args) {
int a=0;
int b=0;
for (int i = 100; i <=1000; i++) {
a++;
boolean d=true;
for (int j = i/2+1; j >1; j--) {
if(i%j==0){
d=false;
}
}
if(d==true){
b++;
}
}
int c=a-b;
System.out.println(c);
}
}