#include<stdio.h>
int main(void)
{
int male = 0, female = 0, kid = 0, blo, sum = 36;
blo = 36;
for(male = 0; male<9; male++)
{
for(female = 0; female<18; female++)
{
kid = 36 - female - male;
if(kid % 2 == 0 && blo == 4 * male + 2 * female + kid / 2)
{
printf("female=%d\n", female);
printf("male=%d\n", male);
printf("kid=%d\n", kid);
}
}
}
return 0;
}