


def 	a__ (							):

			for a in range(3_0_0							):
						for b in range(a + 1,			4_0_0							):
									for c in range(b + 1,			5_0_0							):
												if (a + b + c) == 1_0_0_0 and (a**2) + (b**2) == (c**2):
															return a * b * c

			return -1






def 	a__ (							):

			for a in range(3_0_0							):
						for b in range(4_0_0							):
									SCREAMING_SNAKE_CASE_		:    int 		=				1_0_0_0 - a - b
									if a < b < c and (a**2) + (b**2) == (c**2):
												return a * b * c

			return -1






def 	a__ (							):
			import timeit

			print(
			    timeit.timeit('solution()',			setup='from __main__ import solution',			number=1_0_0_0							)							)
			print(
			    timeit.timeit(
			        'solution_fast()',			setup='from __main__ import solution_fast',			number=1_0_0_0							)							)


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









def 	a__ (							A__ = 4_0_0_0_0_0_0							):

			if n <= 1:
						return 0
			SCREAMING_SNAKE_CASE_		:    Dict 		=				0
			SCREAMING_SNAKE_CASE_		:    Optional[int] 		=				2
			SCREAMING_SNAKE_CASE_		:    List[str] 		=				0
			while 4 * b + a <= n:
						SCREAMING_SNAKE_CASE_		,			SCREAMING_SNAKE_CASE_		:    List[str] 		=				b, 4 * b + a
						count += a
			return count + b


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





