


import math

def       lowercase_		(		_A			:    int						):

      """simple docstring"""




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

def       lowercase_		(		):

      """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()






import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


A      :    List[str]		=					logging.get_logger(__name__)







class 			_lowercase (							lowercase__):


       """simple docstring"""




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


             '''simple docstring'''



             warnings.warn(
                 "The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
                 " use BeitImageProcessor instead."					,      __lowerCamelCase					,      )
             super().__init__(*__lowerCamelCase					,      **__lowerCamelCase       )


