#include <stdio.h>
#include <math.h>

int isprime(int n);

int main(void)
{
int i;
int count=1;
printf( "The prime numbers from 1 to 1000 are \n" );