





import math






def      lowerCamelCase_						(				_UpperCamelCase )		->						Tuple:






				"""simple docstring"""


				snake_case_						:    Tuple				=  0
				snake_case_						:    List[Any]				=  0
				while num > 0:
								snake_case_						:    int				=  num % 8
								snake_case_						:    Union[str, Any]				=  octal + (remainder * math.floor(math.pow(10 ,				UpperCAmelCase_ ) ))
								counter += 1
								snake_case_						:    Optional[int]				=  math.floor(num / 8 )  # basically /= 8 without remainder if any
								# This formatting removes trailing '.0' from `octal`.
				return f'''0o{int(UpperCAmelCase_ )}'''






def      lowerCamelCase_						(				)		->						str:






				"""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'''

from __future__ import annotations





def __snake_case					(      UpperCAmelCase_						:						int		):
 lowerCamelCase_      =  2
 lowerCamelCase_      =  []
 while i * i <= n:
  if n % i:
   i += 1
  else:
   n //= i
   factors.append(UpperCAmelCase_		)
 if n > 1:
  factors.append(UpperCAmelCase_		)
 return factors


if __name__ == "__main__":
     import doctest

     doctest.testmod()



