






'''simple docstring'''




def       __lowercase		(    __lowercase     ,						__lowercase ) ->		int:

      '''simple docstring'''


      if len(str(__lowercase ) ) == 1 or len(str(__lowercase ) ) == 1:
            return a * b

      _A      =			max(len(str(__lowercase ) )     ,						len(str(__lowercase ) ) )
      _A      =			ma // 2

      _A  ,			_A      =			divmod(__lowercase     ,						10**ma )
      _A  ,			_A      =			divmod(__lowercase     ,						10**ma )

      _A      =			karatsuba(__lowercase     ,						__lowercase )
      _A      =			karatsuba((aa + aa)     ,						(ba + ba) )
      _A      =			karatsuba(__lowercase     ,						__lowercase )

      return (z * 10 ** (2 * ma)) + ((y - z - x) * 10 ** (ma)) + (x)

def       __lowercase		(    ) ->		Optional[int]:

      '''simple docstring'''


      print(karatsuba(1_5463     ,						2_3489 ) )


if __name__ == "__main__":
    main()













'''simple docstring'''




def       __lowercase		(    __lowercase ) ->		int:

      '''simple docstring'''


      _A      =			str(__lowercase ).strip()
      if not bin_string:
            raise ValueError("Empty string was passed to the function" )
      _A      =			bin_string[0] == "-"
      if is_negative:
            _A      =			bin_string[1:]
      if not all(char in "01" for char in bin_string ):
            raise ValueError("Non-binary value was passed to the function" )
      _A      =			0
      for char in bin_string:
            _A      =			2 * decimal_number + int(__lowercase )
      return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
    from doctest import testmod

    testmod()





