#include #define LIMIT 10000 #define PRIMES 1000 // Sieve of Eratosthenes int main() { int i,j,numbers[LIMIT]; int primes[PRIMES]; for (i=0;i