public class S {
public static void main(String[] args){
int i=1;
do{
int j=2;
while(j<i){
if(i%j==0)
break;
j++;
}
if(j==i){
Sysem.out.printf(i);
i++;
}while(i<=100);