import enum
import shutil
import sys


_lowerCAmelCase       =		shutil.get_terminal_size()

_lowerCAmelCase       =		{'''UP''': '''A''', '''DOWN''': '''B''', '''RIGHT''': '''C''', '''LEFT''': '''D'''}
class     lowerCAmelCase_     (       enum.Enum ):
							UpperCAmelCase				   =     0
							UpperCAmelCase				   =     1




def 					_snake_case	(  __snake_case  ,     __snake_case=""						):
					sys.stdout.write(str(UpperCAmelCase_						) + end						)
					sys.stdout.flush()
def 					_snake_case	(  __snake_case  ,     __snake_case  ,     __snake_case=""						):
					forceWrite(f"""\u001b[{color}m{content}\u001b[0m"""  ,     UpperCAmelCase_						)
def 					_snake_case	(  ):
					forceWrite('''\r'''						)
def 					_snake_case	(  __snake_case  ,     __snake_case						):
					forceWrite(f"""\033[{num_lines}{CURSOR_TO_CHAR[direction.upper()]}"""						)
def 					_snake_case	(  ):
					forceWrite(''' ''' * TERMINAL_WIDTH						)
					reset_cursor()







def 					_snake_case	(  ):
					reset_cursor()
					forceWrite('''-''' * TERMINAL_WIDTH						)







'''simple docstring'''




from math import loga




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



