fname = input("Enter file name: ")
fh = open(fname)
lst = list()
for line in fh:
    pieces = line.split()
    for piece in pieces:
        if piece in lst:
            continue
        lst.append(piece)
lst.sort()
print(lst)

8f91d8407bddd129c89d4c9064a11be5deae4cd9
<mask token>

<mask token>
for line in fh:
    pieces = line.split()
    for piece in pieces:
        if piece in lst:
            continue
        lst.append(piece)
lst.sort()
print(lst)

fname = input('Enter file name: ')
fh = open(fname)
lst = list()
for line in fh:
    pieces = line.split()
    for piece in pieces:
        if piece in lst:
            continue
        lst.append(piece)
lst.sort()
print(lst)

fname = input("Enter file name: ")
fh = open(fname)
lst = list()
for line in fh:
    pieces = line.split()
    for piece in pieces:
        if piece in lst:
            continue
        lst.append(piece)
lst.sort()
print(lst)
