A = [i for i in range(1,30+1)]
n1 = 0
n2 = 0
for i in A:
if i % 2 == 0:
n1 += 1
else:
n2 += 1
print(f"{n1} = Чёт | {n2} = Неч")
A = [i for i in range(1,30+1)]
n1 = 0
n2 = 0
for i in A:
if i % 2 == 0:
n1 += 1
else:
n2 += 1
print(f"{n1} = Чёт | {n2} = Неч")