





'''simple docstring'''



import math




def 				_lowerCAmelCase  (			lowerCamelCase_     :					int			):
			__lowercase			  =							0
			__lowercase			  =							0
			while num > 0:
						__lowercase			  =							num % 8
						__lowercase			  =							octal + (remainder * math.floor(math.pow(1_0						,    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 				_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(6_5			)			)  # = 101
			print('''\n216 in octal is:'''			)
			print(decimal_to_octal(2_1_6			)			)  # = 330
			print('''\n512 in octal is:'''			)
			print(decimal_to_octal(5_1_2			)			)  # = 1000
			print('''\n'''			)


if __name__ == "__main__":
	main()












'''simple docstring'''



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available, is_torch_available


_SCREAMING_SNAKE_CASE   =      {
    '''configuration_mvp''': ['''MVP_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''MvpConfig''', '''MvpOnnxConfig'''],
    '''tokenization_mvp''': ['''MvpTokenizer'''],
}

try:
	if not is_tokenizers_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_SCREAMING_SNAKE_CASE   =      ['''MvpTokenizerFast''']

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_SCREAMING_SNAKE_CASE   =      [
	    '''MVP_PRETRAINED_MODEL_ARCHIVE_LIST''',
	    '''MvpForCausalLM''',
	    '''MvpForConditionalGeneration''',
	    '''MvpForQuestionAnswering''',
	    '''MvpForSequenceClassification''',
	    '''MvpModel''',
	    '''MvpPreTrainedModel''',
	]

if TYPE_CHECKING:
	from .configuration_mvp import MVP_PRETRAINED_CONFIG_ARCHIVE_MAP, MvpConfig, MvpOnnxConfig
	from .tokenization_mvp import MvpTokenizer

	try:
		if not is_tokenizers_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .tokenization_mvp_fast import MvpTokenizerFast

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_mvp import (
		    MVP_PRETRAINED_MODEL_ARCHIVE_LIST,
		    MvpForCausalLM,
		    MvpForConditionalGeneration,
		    MvpForQuestionAnswering,
		    MvpForSequenceClassification,
		    MvpModel,
		    MvpPreTrainedModel,
		)

else:
	import sys

	_SCREAMING_SNAKE_CASE   =      _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)





