letters = list('abcdefghijklmnopqrstuvwxyz')
numbers = list('1234567890')
for a in letters:
for b in letters:
for c in letters:
for d in letters:
for e in letters:
for f in numbers:
for g in numbers:
print(a,b,c,d,e,f,g)