import random

# one = "+66"
# two = [8,9]
num = list(range(0,10))

# for i in range(30):
#     print(one+str(random.choice(two)),end='')
#     for j in range(8):
#         print(random.choice(three),end='')
#     print()    

# blood= ["A","B","O"]

for i in range(40):
#     print(random.choice(blood))
    for j in range(10):
        print(random.choice(num),end='')
    print()
