





from itertools import product


def        __SCREAMING_SNAKE_CASE	(				__lowercase:		int = 15):



  '''simple docstring'''






  __lowerCAmelCase								=					0.0
  __lowerCAmelCase								=					42
  __lowerCAmelCase								=					42
  __lowerCAmelCase								=					42
  __lowerCAmelCase								=					42
  __lowerCAmelCase								=					42
  __lowerCAmelCase								=					42

  for series in product(range(2)  ,				repeat=__lowercase):
    __lowerCAmelCase								=					series.count(1)
    __lowerCAmelCase								=					num_turns - num_blue
    if num_red >= num_blue:
      continue
    __lowerCAmelCase								=					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_      (	lowerCamelCase:							str    )       ->      int:


      '''simple docstring'''




      lowerCamelCase__   	=					str(lowerCamelCase    ).strip()
      if not bin_string:
            raise ValueError('Empty string was passed to the function'    )
      lowerCamelCase__   	=					bin_string[0] == '-'
      if is_negative:
            lowerCamelCase__   	=					bin_string[1:]
      if not all(char in '01' for char in bin_string    ):
            raise ValueError('Non-binary value was passed to the function'    )
      lowerCamelCase__   	=					0
      for char in bin_string:
            lowerCamelCase__   	=					2 * decimal_number + int(lowerCamelCase    )
      return -decimal_number if is_negative else decimal_number


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

      testmod()