



"""simple docstring"""
def   A_    (     ):







						'''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   A_    (     ):







						'''simple docstring'''


						for a in range(300      ):
												for b in range(400      ):
																		snake_case_					:List[Any]		=     1000 - a - b
																		if a < b < c and (a**2) + (b**2) == (c**2):
																								return a * b * c

						return -1
def   A_    (     ):







						'''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 transformers.models.cpm.tokenization_cpm import CpmTokenizer
from transformers.testing_utils import custom_tokenizers

from ..xlnet.test_modeling_xlnet import XLNetModelTest
@custom_tokenizers
class 							lowerCamelCase    (     _lowerCAmelCase							):






					'''simple docstring'''





					def   lowerCAmelCase_							(			self:				Optional[int]		,	snake_case:				Optional[Any]		,	snake_case:				Optional[Any]		,	snake_case:				Tuple		,	snake_case:				int		,	snake_case:				Optional[Any]		)  ->      int:
											return True






					def   lowerCAmelCase_							(			self:				Tuple		)  ->      Optional[int]:
											snake_case_					:Dict		=     CpmTokenizer.from_pretrained("""TsinghuaAI/CPM-Generate"""		)
											snake_case_					:Any		=     """Hugging Face大法好，谁用谁知道。"""
											snake_case_					:Union[str, Any]		=     """Hugging Face大法好,谁用谁知道。<unk>"""
											snake_case_					:Dict		=     """▁Hu gg ing ▁ ▂ ▁F ace ▁大法 ▁好 ▁ , ▁谁 ▁用 ▁谁 ▁知 道 ▁ 。""".split()

											snake_case_					:str		=     tokenizer.tokenize(snake_case		)
											self.assertListEqual(snake_case		,	snake_case		)

											snake_case_					:List[Any]		=     tokens + [tokenizer.unk_token]

											snake_case_					:Optional[Any]		=     [13_789, 13_283, 1_421, 8, 10, 1_164, 13_608, 16_528, 63, 8, 9, 440, 108, 440, 121, 90, 8, 12, 0]
											self.assertListEqual(tokenizer.convert_tokens_to_ids(snake_case		)		,	snake_case		)

											snake_case_					:int		=     tokenizer.decode(snake_case		)
											self.assertEqual(snake_case		,	snake_case		)
