nums = []
for n in range(2, 200001):
    if sum([int(x)**5 for x in list(str(n))]) == n:
        nums.append(n)
print(nums)
print(sum(nums))

813b8e178dc139113b9b5acab3b48f67b372a7aa
<mask token>

<mask token>
for n in range(2, 200001):
    if sum([(int(x) ** 5) for x in list(str(n))]) == n:
        nums.append(n)
print(nums)
print(sum(nums))

nums = []
for n in range(2, 200001):
    if sum([(int(x) ** 5) for x in list(str(n))]) == n:
        nums.append(n)
print(nums)
print(sum(nums))

nums = []
for n in range(2, 200001):
    if sum([int(x)**5 for x in list(str(n))]) == n:
        nums.append(n)
print(nums)
print(sum(nums))
