import hashlib
import flag

flag_content=flag.getflag()
output=''
md5_hash = hashlib.md5()
add_char_num = len(flag_content)%4

for i in range(0,len(flag_content),4):
    sub_string=flag_content[i:i+4]
    md5_hash = hashlib.md5()
    md5_hash.update(sub_string.encode('utf-8'))
    encrypted_string = md5_hash.hexdigest()
    output+=encrypted_string

print(output)
# 66907e0781b3e3ec67b4cde8054cf44c
# 48164f73d0787125c4efabbb438227ab
# b2f04a8f053e6c9de4c6d2be1259e1a4
# c8e34e08ebc44c6816b3846626ce5acf