




import math




def     __magic_name__       (				A	:      int = 100     ):






			'''simple docstring'''







			a					=    sum(i * i for i in range(1,						n + 1     )     )
			a					=    int(math.pow(sum(range(1,						n + 1     )     ),						2     )     )
			return square_of_sum - sum_of_squares


if __name__ == "__main__":
		print(F'''{solution() = }''')












__lowerCAmelCase	:       List[Any]     =	{str(digit): digit**5 for digit in range(10)}




def     __magic_name__       (				A	:      int     ):






			'''simple docstring'''







			return sum(DIGITS_FIFTH_POWER[digit] for digit in str(A     )     )




def     __magic_name__       (				):






			'''simple docstring'''







			return sum(
			    number
			    for number in range(1000,						1000000     )
			    if number == digits_fifth_powers_sum(A     )     )


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






