n = int (input("Enter a number :"))
for i in range (0,n):
    for j in range (0,n):

        for k in range (0,n):
            print(chr(97+i)+chr(97+j)+chr(97+k))
            
d959004a6faa4483ca59110b6ac1ca69e7f41aa0
<mask token>

<mask token>
for i in range(0, n):
    for j in range(0, n):
        for k in range(0, n):
            print(chr(97 + i) + chr(97 + j) + chr(97 + k))

n = int(input('Enter a number :'))
for i in range(0, n):
    for j in range(0, n):
        for k in range(0, n):
            print(chr(97 + i) + chr(97 + j) + chr(97 + k))

n = int (input("Enter a number :"))
for i in range (0,n):
    for j in range (0,n):

        for k in range (0,n):
            print(chr(97+i)+chr(97+j)+chr(97+k))
            