
"""simple docstring"""

_A						=			{str(digit): digit**5 for digit in range(1_0)}
def 		UpperCAmelCase (		a_      ):





		'''simple docstring'''


		return sum(DIGITS_FIFTH_POWER[digit] for digit in str(a_      )      )
def 		UpperCAmelCase (		):





		'''simple docstring'''


		return sum(
		    number
		    for number in range(1000,						100_0000      )
		    if number == digits_fifth_powers_sum(a_      )      )


if __name__ == "__main__":
					print(solution())








"""simple docstring"""

def 		UpperCAmelCase (		a_ = 10      ):





		'''simple docstring'''


		if not isinstance(a_,						a_      ) or n < 0:
				raise ValueError('Invalid input'      )
		lowerCamelCase					:      Union[str, Any]          =   10**n
		lowerCamelCase					:      int          =   2_8433 * (pow(2,						783_0457,						a_      )) + 1
		return str(number % modulus      )


if __name__ == "__main__":
					from doctest import testmod

					testmod()
					print(F"""{solution(1_0) = }""")






