#include <stdio.h>
int func(int n){
int i,sosu=1;
for(i=2;i<n;i++){
if(n%i==0)
sosu=0;
}
return sosu;
}
int main(void) {
// your code goes here
int x,i;
for(i=10000;i<10100;i++){
x=func(i);
if(x==1){
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgZnVuYyhpbnQgbil7CglpbnQgaSxzb3N1PTE7Cglmb3IoaT0yO2k8bjtpKyspewoJCWlmKG4laT09MCkKCQkJc29zdT0wOwoJfQoJcmV0dXJuIHNvc3U7Cn0KaW50IG1haW4odm9pZCkgewoJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJaW50IHgsaTsKCWZvcihpPTEwMDAwO2k8MTAxMDA7aSsrKXsKCQl4PWZ1bmMoaSk7CgkJaWYoeD09MSl7CgkJCXByaW50ZigiJWRcbiIsaSk7CgkJfQoJCQoJfQoJcmV0dXJuIDA7Cn0K