from itertools import permutations
import string
for p in permutations(string.ascii_lowercase, 4):
    for l in string.ascii_lowercase:
        if l not in p:
            print(l + p[0] + p[1] + l + p[2] + p[3])
