n = int(input('Число N: '))
nList = []
a = 0
while len(nList) < n:
if a % 2 == 0:
nList.append(a)
a += 1
print(nList)
n = int(input('Число N: '))
nList = []
a = 0
while len(nList) < n:
if a % 2 == 0:
nList.append(a)
a += 1
print(nList)