mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-28 06:13:43 +03:00
12 lines
259 B
Python
12 lines
259 B
Python
rrs = [x for x in range(70, 81)]
|
|
|
|
for A in range(1, 1000):
|
|
f = True
|
|
for x in range(1, 1000):
|
|
r = x % A == 0 or (int(x in rrs) <= int(x % 18 != 0))
|
|
if not r:
|
|
f = False
|
|
break
|
|
if f:
|
|
print(A)
|