'''simple docstring'''

import math


def __a (	__lowerCamelCase			:						int				)	->							str:
      '''simple docstring'''


      lowercase_     =      0
      lowercase_     =      0
      while num > 0:
            lowercase_     =      num % 8
            lowercase_     =      octal + (remainder * math.floor(math.pow(10 ,		__lowerCamelCase				)				))
            counter += 1
            lowercase_     =      math.floor(num / 8				)  # basically /= 8 without remainder if any
            # This formatting removes trailing '.0' from `octal`.
      return f'0o{int(__lowerCamelCase				)}'


def __a (	)	->							None:
      '''simple docstring'''


      print("\n2 in octal is:"				)
      print(decimal_to_octal(2				)				)  # = 2
      print("\n8 in octal is:"				)
      print(decimal_to_octal(8				)				)  # = 10
      print("\n65 in octal is:"				)
      print(decimal_to_octal(65				)				)  # = 101
      print("\n216 in octal is:"				)
      print(decimal_to_octal(216				)				)  # = 330
      print("\n512 in octal is:"				)
      print(decimal_to_octal(512				)				)  # = 1000
      print("\n"				)


if __name__ == "__main__":
       main()







'''simple docstring'''

def __a (	__lowerCamelCase			:						int = 600_851_475_143				)	->							int:
      '''simple docstring'''


      try:
            lowercase_     =      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."				)
      lowercase_     =      1
      lowercase_     =      2
      while i * i <= n:
            while n % i == 0:
                  lowercase_     =      i
                  n //= i
            i += 1
      if n > 1:
            lowercase_     =      n
      return int(__lowerCamelCase				)


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






