#include
#define MAX 255
int main()
{ int people[MAX] = {0}; int p; int number; int j; int k; int q; int w; number = 1; q = 0; w = 0; printf("input the number of students: \n"); scanf("%d",p); j = p - 1; while(1) { for(k = 0;k<=j;k++) { if(people[k] == 1000) { continue; q += 1; }