
"""simple docstring"""






def 						_snake_case       (	lowercase__		:  Union[str, Any]		)  ->				int:


			'''simple docstring'''





			lowerCAmelCase_    :Any			     =  hex_num.strip()
			if not hex_num:
						raise ValueError("""No value was passed to the function"""		)

			lowerCAmelCase_    :Dict			     =  hex_num[0] == """-"""
			if is_negative:
						lowerCAmelCase_    :int			     =  hex_num[1:]

			try:
						lowerCAmelCase_    :Any			     =  int(_lowerCAmelCase      ,     1_6		)
			except ValueError:
						raise ValueError("""Invalid value was passed to the function"""		)

			lowerCAmelCase_    :str			     =  """"""
			while int_num > 0:
						lowerCAmelCase_    :Optional[int]			     =  str(int_num % 2		) + bin_str
						int_num >>= 1

			return int(("""-""" + bin_str) if is_negative else bin_str		)


if __name__ == "__main__":
				import doctest

				doctest.testmod()











def 	__UpperCamelCase	(  _lowerCAmelCase      ,     _lowerCAmelCase		)       ->  int:



    """simple docstring"""






    while second != 0:
        A :       int          =   first & second
        first ^= second
        A :       Tuple          =   c << 1
    return first


if __name__ == "__main__":
     import doctest

     doctest.testmod()

     SCREAMING_SNAKE_CASE_:int             =						int(input("""Enter the first number: """).strip())
     SCREAMING_SNAKE_CASE_:Optional[int]             =						int(input("""Enter the second number: """).strip())
     print(F"""{add(first, second) = }""")


