



'''simple docstring'''




import math


def        lowerCAmelCase_     (			_lowerCamelCase:     int      ):
		__SCREAMING_SNAKE_CASE :	Optional[Any]					 =	0
		__SCREAMING_SNAKE_CASE :	Optional[int]					 =	0
		while num > 0:
				__SCREAMING_SNAKE_CASE :	List[Any]					 =	num % 8
				__SCREAMING_SNAKE_CASE :	Optional[Any]					 =	octal + (remainder * math.floor(math.pow(10 ,   _lowerCamelCase      )      ))
				counter += 1
				__SCREAMING_SNAKE_CASE :	Any					 =	math.floor(num / 8      )  # basically /= 8 without remainder if any
				# This formatting removes trailing '.0' from `octal`.
		return F"0o{int(_lowerCamelCase      )}"


def        lowerCAmelCase_     (			):
		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(2_16      )      )  # = 330
		print("""\n512 in octal is:"""      )
		print(decimal_to_octal(5_12      )      )  # = 1000
		print("""\n"""      )


if __name__ == "__main__":
						main()




'''simple docstring'''




from ..utils import DummyObject, requires_backends






class 		_UpperCamelCase						(							metaclass=lowerCamelCase__					):


			'''simple docstring'''

			_A   :	Optional[int]    					=	['''onnx''']

			def __init__(							self  :				List[str]							,  *lowerCAmelCase__  :				Optional[int]							,  **lowerCAmelCase__  :				List[Any]		):





					"""simple docstring"""






					requires_backends(self							,  ["""onnx"""]		)

			@classmethod
			def UpperCamelCase__      (							cls  :				Optional[int]							,  *lowerCAmelCase__  :				int							,  **lowerCAmelCase__  :				int		):





					"""simple docstring"""






					requires_backends(cls							,  ["""onnx"""]		)



			@classmethod
			def UpperCamelCase__      (							cls  :				Tuple							,  *lowerCAmelCase__  :				List[str]							,  **lowerCAmelCase__  :				Optional[Any]		):





					"""simple docstring"""






					requires_backends(cls							,  ["""onnx"""]		)