#include int isprime(int x) { int i; if(x == 0 || x == 1) return 0; for(i=2;i