Răspuns :
5256=g+r+c
3982=g+c
4217=g+r
5256=3982+r=>5256-3982=1274
4217=g+1274
g=4217-1274
g=2943
3982=2943+c
c=3982-2943=1039
proba:
1039+2943+1274=5256
5256-4217=1039(curci), 5256-3983=1274(rate)aduni ratele si curcile(1274+1039=2313)acuma afli găinile 5256-2313=2943gaini faci proba sati iese totalul 1039+2943+1276=5256