#include int main() { int p; extern int isprime(int p); while (scanf("%d", &p) == 1) if (isprime(p)) printf("%d is prime\n", p); else printf("%d is composite\n", p); return 0; }