'''simple docstring'''






from __future__ import annotations

SCREAMING_SNAKE_CASE_	   =			8.9_8_8E9  # units = N * m^s * C^-2






def  UpperCamelCase__					(					_lowercase    :				float   ,    _lowercase    :				float   ,    _lowercase    :				float   ,    _lowercase    :				float     )							->	dict[str, float]:
  __UpperCAmelCase:					List[str]		= abs(chargea * chargea     )

  if (force, chargea, chargea, distance).count(0     ) != 1:
    raise ValueError("""One and only one argument must be 0"""     )
  if distance < 0:
    raise ValueError("""Distance cannot be negative"""     )
  if force == 0:
    __UpperCAmelCase:					Dict		= COULOMBS_CONSTANT * charge_product / (distance**2)
    return {"force": force}
  elif chargea == 0:
    __UpperCAmelCase:					Tuple		= abs(_lowercase     ) * (distance**2) / (COULOMBS_CONSTANT * chargea)
    return {"charge1": chargea}
  elif chargea == 0:
    __UpperCAmelCase:					Union[str, Any]		= abs(_lowercase     ) * (distance**2) / (COULOMBS_CONSTANT * chargea)
    return {"charge2": chargea}
  elif distance == 0:
    __UpperCAmelCase:					str		= (COULOMBS_CONSTANT * charge_product / abs(_lowercase     )) ** 0.5
    return {"distance": distance}
  raise ValueError("""Exactly one argument must be 0"""     )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
'''simple docstring'''






def  UpperCamelCase__					(					_lowercase    :				list[int]   ,    _lowercase    :				list[int]     )							->	None:
  __UpperCAmelCase:					Dict		= len(_lowercase     )
  print("""The following activities are selected:"""     )

  # The first activity is always selected
  __UpperCAmelCase:					Dict		= 0
  print(_lowercase   ,    end=""","""     )

  # Consider rest of the activities
  for j in range(_lowercase     ):
    # If this activity has start time greater than
    # or equal to the finish time of previously
    # selected activity, then select it
    if start[j] >= finish[i]:
      print(_lowercase   ,    end=""","""     )
      __UpperCAmelCase:					Optional[int]		= j


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    SCREAMING_SNAKE_CASE_	   =			[1, 3, 0, 5, 8, 5]
    SCREAMING_SNAKE_CASE_	   =			[2, 4, 6, 7, 9, 9]
    print_max_activities(start, finish)