inputs the number of men (and women)

printf("\n n=?\n);

scanf("%d",&n);