"""simple docstring"""



def    SCREAMING_SNAKE_CASE       (     snake_case):
     if not isinstance(snake_case,      snake_case) or number < 0:
          raise ValueError('''Input must be a non-negative integer''')

     __snake_case				=							0
     while number:
          # This way we arrive at next set bit (next 1) instead of looping
          # through each bit and checking for 1s hence the
          # loop won't run 32 times it will only run the number of `1` times
          number &= number - 1
          count += 1
     return count


if __name__ == "__main__":
       import doctest

       doctest.testmod()
"""simple docstring"""



import re





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





def    SCREAMING_SNAKE_CASE       (     snake_case):
     __snake_case				=							split_input(str_)
     return "".join(
         [''''''.join([char.capitalize() for char in sub_str]) for sub_str in string_split])





def    SCREAMING_SNAKE_CASE       (     snake_case,      snake_case,      snake_case):
     try:
          __snake_case				=							split_input(snake_case)
          if upper:
               __snake_case				=							''''''.join(
                   [
                       separator.join([char.upper() for char in sub_str])
                       for sub_str in string_split
                   ])
          else:
               __snake_case				=							''''''.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    SCREAMING_SNAKE_CASE       (     snake_case):
     return to_simple_case(snake_case)





def    SCREAMING_SNAKE_CASE       (     snake_case):
     try:
          __snake_case				=							to_simple_case(snake_case)
          return res_str[0].lower() + res_str[1:]
     except IndexError:
          return "not valid string"





def    SCREAMING_SNAKE_CASE       (     snake_case,      snake_case):
     return to_complex_case(snake_case,      snake_case,      '''_''')





def    SCREAMING_SNAKE_CASE       (     snake_case,      snake_case):
     return to_complex_case(snake_case,      snake_case,      '''-''')


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