'''simple docstring'''
from __future__ import annotations







def  _UpperCamelCase (     _a	:	List[str]				,     _a	:	Optional[int]			):




    """simple docstring"""



    __UpperCamelCase	:	list[list[int]]		    =  []
    create_all_state(1				,     _lowerCAmelCase				,     _lowerCAmelCase				,     []				,     _lowerCAmelCase			)
    return result







def  _UpperCamelCase (     _a	:	Dict				,     _a	:	List[Any]				,     _a	:	Union[str, Any]				,     _a	:	Tuple				,     _a	:	Tuple				,     ):




    """simple docstring"""



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

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







def  _UpperCamelCase (     _a	:	Optional[Any]			):




    """simple docstring"""



    for i in total_list:
        print(*_lowerCAmelCase			)


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




'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


a=  {'''configuration_vit_msn''': ['''VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''ViTMSNConfig''']}

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  a=  [
      '''VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST''',
      '''ViTMSNModel''',
      '''ViTMSNForImageClassification''',
      '''ViTMSNPreTrainedModel''',
  ]

if TYPE_CHECKING:
  from .configuration_vit_msn import VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP, ViTMSNConfig

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_vit_msn import (
        VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST,
        ViTMSNForImageClassification,
        ViTMSNModel,
        ViTMSNPreTrainedModel,
    )

else:
  import sys

  a=  _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)



