задача к- ичный счетчик скинете решение отправлю 200 руб на карту
a = int(input())
g =
h = 0
o = 0
w = 0
z = 0
k = 0
x = 0
v = 0
for b in range(a):
if k != 0:
g.remove(j)
w = 1
g.append(b)
j = b
k += 1
for c in range(a):
if w != 0 :
g.remove(s)
z = 1
g.append©
s = c
w += 1
for d in range(a):
if z != 0:
g.remove(l)
x = 1
g.append(d)
l = d
z += 1
for e in range(a):
if x != 0:
g.remove(th)
v = 1
th = e
g.append(e)
x += 1
for f in range(a):
if v != 0:
g.remove(kj)
kj = f
g.append(f)
v += 1
print(*g)