


from __future__ import annotations

from math import pi

# Define the Reduced Planck Constant ℏ (H bar), speed of light C, value of
# Pi and the function
__UpperCamelCase    :						Dict     =							1.0_54_57_18_17E-34  # unit of ℏ : J * s

__UpperCamelCase    :						Tuple     =							3E8  # unit of c : m * s^-1





def   _UpperCAmelCase       (     UpperCAmelCase      :			float						,	UpperCAmelCase      :			float						,	UpperCAmelCase      :			float      ):
      """simple docstring"""




      if (force, area, distance).count(0      ) != 1:
            raise ValueError("""One and only one argument must be 0"""      )
      if force < 0:
            raise ValueError("""Magnitude of force can not be negative"""      )
      if distance < 0:
            raise ValueError("""Distance can not be negative"""      )
      if area < 0:
            raise ValueError("""Area can not be negative"""      )
      if force == 0:
            __lowerCamelCase     :      str       						=						(REDUCED_PLANCK_CONSTANT * SPEED_OF_LIGHT * pi**2 * area) / (
                240 * (distance) ** 4
            )
            return {"force": force}
      elif area == 0:
            __lowerCamelCase     :      Optional[int]       						=						(240 * force * (distance) ** 4) / (
                REDUCED_PLANCK_CONSTANT * SPEED_OF_LIGHT * pi**2
            )
            return {"area": area}
      elif distance == 0:
            __lowerCamelCase     :      Union[str, Any]       						=						(
                (REDUCED_PLANCK_CONSTANT * SPEED_OF_LIGHT * pi**2 * area) / (240 * force)
            ) ** (1 / 4)
            return {"distance": distance}
      raise ValueError("""One and only one argument must be 0"""      )


# Run doctest
if __name__ == "__main__":
    import doctest

    doctest.testmod()







from typing import Any





def   _UpperCAmelCase       (     UpperCAmelCase      :			list      ):
      """simple docstring"""




      if not input_list:
            return []
      __lowerCamelCase     :      int       						=						[input_list.count(UpperCAmelCase      ) for value in input_list]
      __lowerCamelCase     :      Tuple       						=						max(UpperCAmelCase      )  # Gets the maximum count in the input list.
      # Gets values of modes
      return sorted({input_list[i] for i, value in enumerate(UpperCAmelCase      ) if value == y}      )


if __name__ == "__main__":
    import doctest

    doctest.testmod()



