scripts/ege/13118674/15.py

14 lines
293 B
Python
Raw Normal View History

2023-05-05 00:45:01 +03:00
for A in range(1000):
f = True
for x in range(1000):
for y in range(1000):
r = (x + 2 * y < A) or (y > x) or (x > 20)
if not r:
f = False
break
if not f:
break
if f:
print(A)
break