nums = [1, 2, 3, 4, 5]

for num in nums:
    for letter in "abc":
        print(num, letter)

        


for i in range(1, 10):
    print(i)





for i in range(3):
    print("A")
for i in range(4):
    print("B")



