public static void main(String[] args) {
// TODO Auto-generated method stub
for(int x=0;x<=20;x++) {
for(int y=0;y<=33;y++) {
int z=100-x-y;
if(z%3==0&&x*5+y*3+z/3==100) {
System.out.println(x+","+y+","+z);//x公鸡,y母鸡。z鸡雏。
}
}
}
}
}