
'''simple docstring'''

from itertools import product





def 				A_					(	snake_case = 15	):
  SCREAMING_SNAKE_CASE:float   =   0.0
  SCREAMING_SNAKE_CASE:float
  SCREAMING_SNAKE_CASE:int
  SCREAMING_SNAKE_CASE:int
  SCREAMING_SNAKE_CASE:int
  SCREAMING_SNAKE_CASE:int
  SCREAMING_SNAKE_CASE:tuple[int, ...]

  for series in product(range(2	) ,    repeat=snake_case	):
    SCREAMING_SNAKE_CASE:List[str]   =   series.count(1	)
    SCREAMING_SNAKE_CASE:Union[str, Any]   =   num_turns - num_blue
    if num_red >= num_blue:
      continue
    SCREAMING_SNAKE_CASE:int   =   1.0
    for ind, col in enumerate(snake_case ,    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() = }''')









'''simple docstring'''

def 				A_					(	snake_case	):
  return "".join(chr(ord(snake_case	) + 32	) if "A" <= char <= "Z" else char for char in word	)


if __name__ == "__main__":
    from doctest import testmod

    testmod()






