scripts/ege/Вариант/14.py
2023-05-05 00:45:01 +03:00

7 lines
184 B
Python

for x in range(33):
n1 = 1 * 33**4 + 2 * 33**3 + x * 33**2 + 3 * 33 + 4
n2 = 4 * 33**3 + 9 * 33**2 + x * 33 + 9
k = n1 + n2
if k % 19 == 0:
print(k / 19)