import re
f = open('output1.txt', 'r', encoding='utf-8')
e = open('output2.txt', 'w', encoding='utf-8')
words = dict()
lines = f.readlines()
for line in lines:
    line = line.split()
    if line[0][0] == 'f' and line[0][2] == 'h':
        e.write(line[0] + ',' + ' ')
f.close()
e.close()

2884fc34a004f644fbaf4e749f91d6bc115bb945
<mask token>

<mask token>
for line in lines:
    line = line.split()
    if line[0][0] == 'f' and line[0][2] == 'h':
        e.write(line[0] + ',' + ' ')
f.close()
e.close()

<mask token>
f = open('output1.txt', 'r', encoding='utf-8')
e = open('output2.txt', 'w', encoding='utf-8')
words = dict()
lines = f.readlines()
for line in lines:
    line = line.split()
    if line[0][0] == 'f' and line[0][2] == 'h':
        e.write(line[0] + ',' + ' ')
f.close()
e.close()

import re
f = open('output1.txt', 'r', encoding='utf-8')
e = open('output2.txt', 'w', encoding='utf-8')
words = dict()
lines = f.readlines()
for line in lines:
    line = line.split()
    if line[0][0] == 'f' and line[0][2] == 'h':
        e.write(line[0] + ',' + ' ')
f.close()
e.close()
