#include <stdio.h>
#define LIST_SIZE 5000
typedef struct
{
char name[100];
char power[100];
int age;
int faction;
} XMan;
int main()
{
XMan list[LIST_SIZE];
int counter;
for(counter = 0; counter < LIST_SIZE; counter++)
{
printf("Enter Name\n");
scanf("%s", list[counter].name);
printf("Enter Power\n");
scanf("%s", list[counter].power);
printf("Enter Age\n");
scanf("%d", &list[counter].age);
printf("Enter 1 for good, 0 for evil\n");
scanf("%d", &list[counter].faction);
}
printf("%s\n%s\n%d\n%d\n", list[counter].name, list[counter].power, list[counter].age, list[counter].faction);
}