a+b+c+d = 10000
a = nuc
b= meri
c= peri
d = pruni
a=1208
b+c=7883
c+d=2000
Inlocuim in prima ecuatie :
1208+7883+d=10000
9091+d=10000
d=909
1208+b+2000=10000
3208+b=10000
b=6792
Inlocuim in b+c =7883
6792+c=7883
c=1091
Rezultat final:
a=1208
b=6792
c=1091
d=909
Sper ca ai inteles. Succes!