#for i in range(3):
    #for j in range(3):
        #print(i, j)


#cars = ["mazda", "opel", "audi", "honda"]
#for i in range(len(cars)):
    #for h in range(i+1):
      #print(cars[i])


for n in range(1, 4):
    for j in ["a", "b", "c"]:
        print("n =", n, "and j =", j)
