假设公鸡为X,母鸡为Y
根据题意可得
X+Y=76
X-12=Y-4
X-12=(76-X)-4
X-12=76-4-X
X-12=72-X
X+X=72+12
2X=84
X=42
Y=76-X=76-42=34