#for loop

# x = int(input())

# for a in x:
#     x[a]= input("emter the values")

# print(x)

#element in a string
# a = "helloworld"

# for i in a:
#     print(i)

# break

# a = "helloworld"

# for i in a:
#     print(i)
#     if(i=="o"):
#         break

#continue

# a = "helloworld"

# for i in a:
#     if i=="o":
#         continue
#     print(i)

#RANGE

# for i in range(0,100,5):
#     print(i)

# NESTED LOOP

l = ["apple", "banana", "cherry", "apple", "cherry"]
m = ['p','r','o','g','r','a','m','i','z']


for i in l:
    for j in m:
        print(i,j)










