package demo;
import java.util.Scanner;
public class Demo {
public static void main(String[] args) {
for(int i = 101; i < 200 ; i++){
boolean result = isSu(i);
if(result){
System.out.println(i);
}
}
}
public static boolean isSu(int num){
//定义一个结果变量
boolean result = true;
for(int i = 2; i < (num+1)/2; i++){
if(num%i == 0){
result = false;
break;
}
}
return result;
}
}