





'''simple docstring'''





from typing import TYPE_CHECKING

from ....utils import _LazyModule


__lowerCamelCase :  str										=  {"""tokenization_tapex""": ["""TapexTokenizer"""]}


if TYPE_CHECKING:
    from .tokenization_tapex import TapexTokenizer


else:
    import sys

    __lowerCamelCase :  Optional[int]										=  _LazyModule(__name__, globals()["""__file__"""], _import_structure)







from math import loga



def 	A_       (  _lowerCAmelCase  )		->				int:
 if a < 0:
  raise ValueError("Input value must be a positive integer"  )
 elif isinstance(_lowerCAmelCase							,     _lowerCAmelCase  ):
  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()
