package javatext;
public class javatext2 {
public static void main(String[] args) {
for (int i = 1; i <= 33; i++) { //公鸡
for (int j = 1; j <= 50; j++) {
int k = 100 -i - j;
int totalPrice = i * 3 + j*2 +k/3;
if(totalPrice == 100) {
System.out.println("公鸡" + i + "母鸡" + j + "小鸡" + k);
}
}
}
}
}