scripts/ege/Апробация 10.03.2023/15.py
2023-05-05 00:45:01 +03:00

12 lines
277 B
Python

for A in range(1000):
f = True
for x in range(1, 1000):
for y in range(1, 1000):
r = (x + y <= 32) or (y <= x + 4) or (y >= A)
if not r:
f = False
if not f:
break
if f:
print(A)