OO

Size: a a a
OO
OO
NS
NS
PA
NS
NS
MC
PA
ЯМ
OO
ᅠ
🚲U
def generate_podarok():
a = 50 # pryaniks count
b = 30 # konfets count
c = 40 # mandarins count
podarok = 0
while a > 0 and b > 0:
podarok += 1
a -= 1
b -= 1
while b > 0 and c > 0:
podarok += 1
b -= 1
c -= 1
while a > 0 and c > 0:
podarok += 1
a -= 1
c -= 1
return podarok
print(generate_podarok())
🚲U
if b := 3
OO
if b := 3
OO