





'''simple docstring'''






def 					_a						(       _lowerCamelCase = 1000 ) ->				int:



			"""simple docstring"""


			__snake_case					:      List[str]							      =     -1
			__snake_case					:      List[str]							      =     0
			for a in range(1    ,	n // 3 ):
						# Solving the two equations a**2+b**2=c**2 and a+b+c=N eliminating c
						__snake_case					:      List[Any]							      =     (n * n - 2 * a * n) // (2 * n - 2 * a)
						__snake_case					:      Any							      =     n - a - b
						if c * c == (a * a + b * b):
									__snake_case					:      Any							      =     a * b * c
									if candidate >= product:
												__snake_case					:      Union[str, Any]							      =     candidate
			return product


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









'''simple docstring'''






def 					_a						(       _lowerCamelCase ) ->				int:



			"""simple docstring"""


			if not isinstance(_lowerCamelCase    ,	_lowerCamelCase ):
						raise TypeError("""only integers accepted as input""" )
			else:
						__snake_case					:      List[Any]							      =     str(abs(_lowerCamelCase ) )
						__snake_case					:      Union[str, Any]							      =     [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()


