S=1/2(x)...=> x=2S
L=1/4(x)...=> x=4L....=>2S=4L
M=4....=> M=S:2:2...=> M=4L:4....=> M=1/4x)...=>1/4(x)=4...=> L=4
x) |____|_____|_____|_____|
S)|____|_____|
L)|____|
M|____|
-----------------------------------------
1/2(x)+1/4(x)+4=x:2+x:4+4=x
x=4/4
x=4*4
x=16
S=16:2
S=8 pesti a prins Sergiu
L=16:4
L=4 pesti a prins Liviu
8+4+4=16 pesti in total