#-*-coding:utf8;-*-
#qpy:3
#qpy:console
import random
print("This is console module")
numbers1 = [n for n in range (1000, 10000)]
rndm = str(random.choice(numbers1))
print(rndm)
BC=str(input())
if int(BC[1]) > 0:
for x in (numbers1):
print(numbers1[x])