d=8×13+5=104+5=109
d=109
c×109=308
c=308:109
c=308/109 (este o fractie ireductibila)
b=503+308/109 (aducem la acelasi numitor)
b=(503×109+308)/109
b=55135/109
a+55135/109=1000
a=(109000-55135)/109
a=53865/109
Rezultatele sunt urate... cred ca e o eroare in enuntul problemei (poate ca c×d=218)