a =primul copil
b = al 2 - lea copil
20 nuci
""""""""""""""""""
a - 3 nuci -> b - 2 nuci
a- 3 nuci -> b- 2 nuci
a- 3 nuci -> b - 2 nuci
a- 3 nuci -> b - 2 nuci
___________________________
primul copil= a primit 12 nuci
al doilea copil = a primit 8 nuci
verificare : 12+8=20