from hacker.settings import inputfile
filename = inputfile('crypto', 'updike_cipher', 'updike.html')
result = ''
with open(filename, 'r') as file:
    previous_line = ''
    for line in file.readlines():
        if previous_line.startswith('<p>'):
            result += line[0] if line[0].isalpha() else ''
        previous_line = line
print(result)

10fc5f350bdfb89702bf472813a9b4b582d4bc84
<mask token>

<mask token>
with open(filename, 'r') as file:
    previous_line = ''
    for line in file.readlines():
        if previous_line.startswith('<p>'):
            result += line[0] if line[0].isalpha() else ''
        previous_line = line
print(result)

<mask token>
filename = inputfile('crypto', 'updike_cipher', 'updike.html')
result = ''
with open(filename, 'r') as file:
    previous_line = ''
    for line in file.readlines():
        if previous_line.startswith('<p>'):
            result += line[0] if line[0].isalpha() else ''
        previous_line = line
print(result)

from hacker.settings import inputfile
filename = inputfile('crypto', 'updike_cipher', 'updike.html')
result = ''
with open(filename, 'r') as file:
    previous_line = ''
    for line in file.readlines():
        if previous_line.startswith('<p>'):
            result += line[0] if line[0].isalpha() else ''
        previous_line = line
print(result)
