

'''simple docstring'''







from __future__ import annotations
def       UpperCAmelCase__    (      UpperCAmelCase__,       UpperCAmelCase__				)			->			list[list[int]]:
       A_						=      []
       create_all_state(1,       UpperCAmelCase__,       UpperCAmelCase__,       [],       UpperCAmelCase__				)
       return result
def       UpperCAmelCase__    (      UpperCAmelCase__,       UpperCAmelCase__,       UpperCAmelCase__,       UpperCAmelCase__,       UpperCAmelCase__,       )			->			None:
       if level == 0:
              total_list.append(current_list[:]				)
              return

       for i in range(UpperCAmelCase__,       total_number - level + 2				):
              current_list.append(UpperCAmelCase__				)
              create_all_state(i + 1,       UpperCAmelCase__,       level - 1,       UpperCAmelCase__,       UpperCAmelCase__				)
              current_list.pop()
def       UpperCAmelCase__    (      UpperCAmelCase__				)			->			None:
       for i in total_list:
              print(*UpperCAmelCase__				)


if __name__ == "__main__":
      __lowerCamelCase		       =    4
      __lowerCamelCase		       =    2
      __lowerCamelCase		       =    generate_all_combinations(n, k)
      print_all_state(total_list)



'''simple docstring'''







import warnings

from diffusers import StableDiffusionImgaImgPipeline  # noqa F401


warnings.warn(
    '''The `image_to_image.py` script is outdated. Please use directly `from diffusers import'''
    ''' StableDiffusionImg2ImgPipeline` instead.'''
)
