

'''simple docstring'''
from math import loga




def 	UpperCamelCase   (       lowercase_						:    int	)		->	int:




  '''simple docstring'''



  if a < 0:
    raise ValueError('''Input value must be a positive integer'''	)
  elif isinstance(lowercase_     ,					lowercase_	):
    raise TypeError('''Input value must be a \'int\' type'''	)
  return 0 if (a == 0) else int(loga(a & -a	)	)


if __name__ == "__main__":
     import doctest

     doctest.testmod()




"""simple docstring"""


from typing import TYPE_CHECKING

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


__snake_case    					=					{'configuration_mmbt': ['MMBTConfig']}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   __snake_case    					=					['MMBTForClassification', 'MMBTModel', 'ModalEmbeddings']


if TYPE_CHECKING:
   from .configuration_mmbt import MMBTConfig

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_mmbt import MMBTForClassification, MMBTModel, ModalEmbeddings

else:
   import sys

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