
"""simple docstring"""
from itertools import product
def 					a__ ( a :					int = 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=a		):
    _snake_case  :    Optional[Any]            = series.count(1		)
    _snake_case  :    Tuple            = num_turns - num_blue
    if num_red >= num_blue:
      continue
    _snake_case  :    Dict            = 1.0
    for ind, col in enumerate(a							,  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"""
from ..utils import requires_backends


_a   :      List[str]       =				None






class   _UpperCAmelCase					:
    def __init__(     self    ,     *snake_case_    ,     **snake_case_  ):
      requires_backends(self    ,     ["detectron2"]  )


    @classmethod
    def        lowerCamelCase__						(     cls    ,     *snake_case_    ,     **snake_case_  ):
      requires_backends(cls    ,     ["detectron2"]  )

