import random

for test in range(0,10):
    print (random.randint(1,100))
    for test in range(0,100):
        print(random.randint(1,1000))
        for test in range(0,1000):
            print(random.randint(1,10000))
