

'''simple docstring'''

def 				lowercase (					):



					'''simple docstring'''







					for a in range(300							):
										for b in range(a + 1			,   400							):
															for c in range(b + 1			,   500							):
																				if (a + b + c) == 1000 and (a**2) + (b**2) == (c**2):
																									return a * b * c

					return -1





def 				lowercase (					):



					'''simple docstring'''







					for a in range(300							):
										for b in range(400							):
															UpperCAmelCase		:							Optional[int]        =       1000 - a - b
															if a < b < c and (a**2) + (b**2) == (c**2):
																				return a * b * c

					return -1





def 				lowercase (					):



					'''simple docstring'''







					import timeit

					print(
					    timeit.timeit("solution()"			,   setup="from __main__ import solution"			,   number=1000							)							)
					print(
					    timeit.timeit(
					        "solution_fast()"			,   setup="from __main__ import solution_fast"			,   number=1000							)							)


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



'''simple docstring'''

from ..utils import DummyObject, requires_backends







class   UpperCamelCase__   (       metaclass=lowercase__       ):


		"""simple docstring"""

		SCREAMING_SNAKE_CASE__  :     List[Any]       =							["torch", "transformers", "invisible_watermark"]







		def __init__(			self   ,      *snake_case   ,      **snake_case      ):


							'''simple docstring'''

							requires_backends(self   ,      ["torch", "transformers", "invisible_watermark"]      )







		@classmethod
		def 				A_	(			cls   ,      *snake_case   ,      **snake_case      ):


							'''simple docstring'''

							requires_backends(cls   ,      ["torch", "transformers", "invisible_watermark"]      )







		@classmethod
		def 				A_	(			cls   ,      *snake_case   ,      **snake_case      ):


							'''simple docstring'''

							requires_backends(cls   ,      ["torch", "transformers", "invisible_watermark"]      )







class   UpperCamelCase__   (       metaclass=lowercase__       ):


		"""simple docstring"""

		SCREAMING_SNAKE_CASE__  :     int       =							["torch", "transformers", "invisible_watermark"]







		def __init__(			self   ,      *snake_case   ,      **snake_case      ):


							'''simple docstring'''

							requires_backends(self   ,      ["torch", "transformers", "invisible_watermark"]      )







		@classmethod
		def 				A_	(			cls   ,      *snake_case   ,      **snake_case      ):


							'''simple docstring'''

							requires_backends(cls   ,      ["torch", "transformers", "invisible_watermark"]      )







		@classmethod
		def 				A_	(			cls   ,      *snake_case   ,      **snake_case      ):


							'''simple docstring'''

							requires_backends(cls   ,      ["torch", "transformers", "invisible_watermark"]      )
