






def 				lowerCamelCase__      (    __lowerCamelCase			:     int = 600851475143		):

  try:
    __UpperCAmelCase							:	Optional[Any]           =  int(__lowerCamelCase		)
  except (TypeError, ValueError):
    raise TypeError("""Parameter n must be int or castable to int."""		)
  if n <= 0:
    raise ValueError("""Parameter n must be greater than or equal to one."""		)
  __UpperCAmelCase							:	Union[str, Any]           =  1
  __UpperCAmelCase							:	str           =  2
  while i * i <= n:
    while n % i == 0:
      __UpperCAmelCase							:	str           =  i
      n //= i
    i += 1
  if n > 1:
    __UpperCAmelCase							:	Any           =  n
  return int(__lowerCamelCase		)


if __name__ == "__main__":
       print(f"""{solution() = }""")










from __future__ import annotations

from math import pi






def 				lowerCamelCase__      (    __lowerCamelCase			:     float  ,		__lowerCamelCase			:     float  ,		__lowerCamelCase			:     float		):

  if (inductance, frequency, reactance).count(0		) != 1:
    raise ValueError("""One and only one argument must be 0"""		)
  if inductance < 0:
    raise ValueError("""Inductance cannot be negative"""		)
  if frequency < 0:
    raise ValueError("""Frequency cannot be negative"""		)
  if reactance < 0:
    raise ValueError("""Inductive reactance cannot be negative"""		)
  if inductance == 0:
    return {"inductance": reactance / (2 * pi * frequency)}
  elif frequency == 0:
    return {"frequency": reactance / (2 * pi * inductance)}
  elif reactance == 0:
    return {"reactance": 2 * pi * frequency * inductance}
  else:
    raise ValueError("""Exactly one argument must be 0"""		)


if __name__ == "__main__":
       import doctest

       doctest.testmod()


