'''simple docstring'''




from __future__ import annotations

_a   :	Optional[Any] 							=   8.9_88e9  # units = N * m^s * C^-2

def _lowercase	(      lowerCamelCase__							,    lowerCamelCase__							,    lowerCamelCase__							,    lowerCamelCase__						)					->       dict[str, float]:





       """simple docstring"""


       __UpperCAmelCase  :				Optional[int]       				=		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  :				Any       				=		COULOMBS_CONSTANT * charge_product / (distance**2)
              return {"force": force}
       elif chargea == 0:
              __UpperCAmelCase  :				List[str]       				=		abs(lowerCamelCase__						) * (distance**2) / (COULOMBS_CONSTANT * chargea)
              return {"charge1": chargea}
       elif chargea == 0:
              __UpperCAmelCase  :				str       				=		abs(lowerCamelCase__						) * (distance**2) / (COULOMBS_CONSTANT * chargea)
              return {"charge2": chargea}
       elif distance == 0:
              __UpperCAmelCase  :				Union[str, Any]       				=		(COULOMBS_CONSTANT * charge_product / abs(lowerCamelCase__						)) ** 0.5
              return {"distance": distance}
       raise ValueError("Exactly one argument must be 0"						)


if __name__ == "__main__":
   import doctest

   doctest.testmod()







'''simple docstring'''




from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors

def _lowercase	(      lowerCamelCase__						)					->       int:





       """simple docstring"""


       __UpperCAmelCase  :				Any       				=		prime_factors(lowerCamelCase__						)
       if is_square_free(lowerCamelCase__						):
              return -1 if len(lowerCamelCase__						) % 2 else 1
       return 0


if __name__ == "__main__":
   import doctest

   doctest.testmod()






