l---------------------l---------------------l
.............................
alex
l-------l------l-----l restul
...........
laura
l--l--l--l--l--l restul
...
ioana
l--l--l--l--l restul
...............
8
ultimele segmente (4)
8:4=2 un segment SAU ioana
2x5=10 restul
10=2segmente
10:2=5 laura
5x3=15 restul SAU jumatate SAU alex
15x2=30 garoafe în total
Alex= 15
Laura =5
Ioana =2
i-au ramas =8
15+5+2+8=30 garoafe în total