


from __future__ import annotations


def      a	(							SCREAMING_SNAKE_CASE_      :		int							,			SCREAMING_SNAKE_CASE_      :		int       ):






       """simple docstring"""





       UpperCamelCase    :	list[list[int]]   	=		[]
       create_all_state(1							,			SCREAMING_SNAKE_CASE_							,			SCREAMING_SNAKE_CASE_							,			[]							,			SCREAMING_SNAKE_CASE_       )
       return result


def      a	(							SCREAMING_SNAKE_CASE_      :		int							,			SCREAMING_SNAKE_CASE_      :		int							,			SCREAMING_SNAKE_CASE_      :		int							,			SCREAMING_SNAKE_CASE_      :		list[int]							,			SCREAMING_SNAKE_CASE_      :		list[list[int]]							,			):






       """simple docstring"""





       if level == 0:
              total_list.append(current_list[:]       )
              return

       for i in range(SCREAMING_SNAKE_CASE_							,			total_number - level + 2       ):
              current_list.append(SCREAMING_SNAKE_CASE_       )
              create_all_state(i + 1							,			SCREAMING_SNAKE_CASE_							,			level - 1							,			SCREAMING_SNAKE_CASE_							,			SCREAMING_SNAKE_CASE_       )
              current_list.pop()


def      a	(							SCREAMING_SNAKE_CASE_      :		list[list[int]]       ):






       """simple docstring"""





       for i in total_list:
              print(*SCREAMING_SNAKE_CASE_       )


if __name__ == "__main__":
  __UpperCAmelCase : List[str] 			=				4
  __UpperCAmelCase : List[Any] 			=				2
  __UpperCAmelCase : Dict 			=				generate_all_combinations(n, k)
  print_all_state(total_list)





def      a	(							SCREAMING_SNAKE_CASE_      :		int       ):






       """simple docstring"""





       if number > 0:
              raise ValueError('''input must be a negative integer'''       )
       UpperCamelCase    :	List[str]   	=		len(bin(SCREAMING_SNAKE_CASE_       )[3:]       )
       UpperCamelCase    :	List[str]   	=		bin(abs(SCREAMING_SNAKE_CASE_       ) - (1 << binary_number_length)       )[3:]
       UpperCamelCase    :	Dict   	=		(
           (
               '''1'''
               + '''0''' * (binary_number_length - len(SCREAMING_SNAKE_CASE_       ))
               + twos_complement_number
           )
           if number < 0
           else '''0'''
       )
       return "0b" + twos_complement_number


if __name__ == "__main__":
  import doctest

  doctest.testmod()

