





import math

def       A__(		__lowerCAmelCase = 1_00 ):
				_snake_case :			str  						=   sum(i * i for i in range(1	,			n + 1 ) )
				_snake_case :			Optional[Any]  						=   int(math.pow(sum(range(1	,			n + 1 ) )	,			2 ) )
				return square_of_sum - sum_of_squares


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













def       A__(		__lowerCAmelCase ):

				if not isinstance(__lowerCAmelCase	,			__lowerCAmelCase ):
								raise TypeError('only integers accepted as input' )
				else:
								_snake_case :			Any  						=   str(abs(__lowerCAmelCase ) )
								_snake_case :			List[str]  						=   [list(__lowerCAmelCase ) for char in range(len(__lowerCAmelCase ) )]
								for index in range(len(__lowerCAmelCase ) ):
												num_transpositions[index].pop(__lowerCAmelCase )
								return max(
								    int(''.join(list(__lowerCAmelCase ) ) ) for transposition in num_transpositions )


if __name__ == "__main__":
		__import__('''doctest''').testmod()






