'''simple docstring'''
def  __lowerCamelCase       (      _UpperCamelCase  :  int							,    _UpperCamelCase  :  int					):


      '''simple docstring'''


      if a < 0 or b < 0:
            raise ValueError('''the value of both inputs must be positive'''					)

      UpperCAmelCase_            =  str(bin(_UpperCamelCase					)					)[2:]  # remove the leading "0b"
      UpperCAmelCase_            =  str(bin(_UpperCamelCase					)					)[2:]  # remove the leading "0b"

      UpperCAmelCase_            =  max(len(_UpperCamelCase					)							,    len(_UpperCamelCase					)					)

      return "0b" + "".join(
          str(int(char_a != char_b					)					)
          for char_a, char_b in zip(a_binary.zfill(_UpperCamelCase					)							,    b_binary.zfill(_UpperCamelCase					)					)					)


if __name__ == "__main__":
      import doctest

      doctest.testmod()






'''simple docstring'''
import re



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      return [char.split() for char in re.split(R'''[^ a-z A-Z 0-9 \s]'''							,    str_					)]



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      UpperCAmelCase_            =  split_input(str_					)
      return "".join(
          [''''''.join([char.capitalize() for char in sub_str]					) for sub_str in string_split]					)



def  __lowerCamelCase       (      _UpperCamelCase  :  str							,    _UpperCamelCase  :  bool							,    _UpperCamelCase  :  str					):


      '''simple docstring'''


      try:
            UpperCAmelCase_            =  split_input(_UpperCamelCase					)
            if upper:
                  UpperCAmelCase_            =  ''''''.join(
                      [
                          separator.join([char.upper() for char in sub_str]					)
                          for sub_str in string_split
                      ]					)
            else:
                  UpperCAmelCase_            =  ''''''.join(
                      [
                          separator.join([char.lower() for char in sub_str]					)
                          for sub_str in string_split
                      ]					)
            return res_str
      except IndexError:
            return "not valid string"



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      return to_simple_case(_UpperCamelCase					)



def  __lowerCamelCase       (      _UpperCamelCase  :  str					):


      '''simple docstring'''


      try:
            UpperCAmelCase_            =  to_simple_case(_UpperCamelCase					)
            return res_str[0].lower() + res_str[1:]
      except IndexError:
            return "not valid string"



def  __lowerCamelCase       (      _UpperCamelCase  :  str							,    _UpperCamelCase  :  bool					):


      '''simple docstring'''


      return to_complex_case(_UpperCamelCase							,    _UpperCamelCase							,    '''_'''					)



def  __lowerCamelCase       (      _UpperCamelCase  :  str							,    _UpperCamelCase  :  bool					):


      '''simple docstring'''


      return to_complex_case(_UpperCamelCase							,    _UpperCamelCase							,    '''-'''					)


if __name__ == "__main__":
      __import__("doctest").testmod()





