#include <iostream>
using namespace std;
void ji()
{
int x,y,z;
int sum,price;
for(x=1;x<21;x++)
{
for(y=1;y<34;y++)
{
for(z=1;z<100;z++)
{
sum=x+y+z;
price=5*x+3*y+z/3;
if(sum==100&&price==100)
cout<<"公鸡、母鸡、小鸡有:"<<x<<" "<<y<<" "<<z<<endl;
}
}
}
}
int main() {
ji();
return 0;
}