#include <stdio.h>

int main(void) {
   FILE *fp;
   char text[7][100];
   int i=0, j=0;

printf("qwedfniqwnfiqwf\n");
   fp = stdin;

   //Read over file contents until either EOF is reached or maximum characters is read and store in character array
   while(fgets((text)[i++],100,fp) != NULL) ;

	fprintf(stdout, "%d\n", i);
   for (j = 0; j < i; ++j) {
   	 printf("%d: %s\n",j, text[j]);
   }

 
}
