important_english = """Burning 'em, if you ain't quick and nimble\nI go crazy when I hear a cymbal"""

arr = [ord(i) for i in important_english]

answer = """<KEY>"""

key =  [ord(i) for i in "ICE"]
key_index = 0

out = []

for i in arr:
    hex_string = format(i ^ key[key_index], "x")
    if len(hex_string) == 1:
        out.append("0" + hex_string)
    else:
        out.append(hex_string)

    key_index += 1
    key_index %= len(key)

out = [str(x) for x in out]

print("".join(out) == answer)

