



"""simple docstring"""
from itertools import product
def   A_    (     _lowercase = 15      ):







						'''simple docstring'''


						snake_case_					:float		=     0.0
						snake_case_					:float
						snake_case_					:int
						snake_case_					:int
						snake_case_					:int
						snake_case_					:int
						snake_case_					:tuple[int, ...]

						for series in product(range(2      ),   repeat=_lowercase      ):
												snake_case_					:List[str]		=     series.count(1      )
												snake_case_					:Dict		=     num_turns - num_blue
												if num_red >= num_blue:
																		continue
												snake_case_					:List[Any]		=     1.0
												for ind, col in enumerate(_lowercase,   2      ):
																		if col == 0:
																								prob *= (ind - 1) / ind
																		else:
																								prob *= 1 / ind

												total_prob += prob

						return int(1 / total_prob      )


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



def   _lowerCAmelCase(						):

  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   _lowerCAmelCase(						):

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

  return -1
def   _lowerCAmelCase(						):
  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() = }")



