




from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


_lowerCamelCase      			=						{
    'configuration_falcon': ['FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP', 'FalconConfig'],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 _lowerCamelCase      			=						[
     'FALCON_PRETRAINED_MODEL_ARCHIVE_LIST',
     'FalconForCausalLM',
     'FalconModel',
     'FalconPreTrainedModel',
     'FalconForSequenceClassification',
     'FalconForTokenClassification',
     'FalconForQuestionAnswering',
 ]


if TYPE_CHECKING:
 from .configuration_falcon import FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP, FalconConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_falcon import (
      FALCON_PRETRAINED_MODEL_ARCHIVE_LIST,
      FalconForCausalLM,
      FalconForQuestionAnswering,
      FalconForSequenceClassification,
      FalconForTokenClassification,
      FalconModel,
      FalconPreTrainedModel,
  )


else:
 import sys

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











def  SCREAMING_SNAKE_CASE     (	__UpperCamelCase      :						Optional[Any]				)  ->							Union[str, Any]:
    UpperCAmelCase_										=					len(__UpperCamelCase				)
    while cur > 1:
        # Find the maximum number in arr
        UpperCAmelCase_										=					arr.index(max(arr[0:cur]				)				)
        # Reverse from 0 to mi
        UpperCAmelCase_										=					arr[mi::-1] + arr[mi + 1 : len(__UpperCamelCase				)]
        # Reverse whole list
        UpperCAmelCase_										=					arr[cur - 1 :: -1] + arr[cur : len(__UpperCamelCase				)]
        cur -= 1
    return arr


if __name__ == "__main__":
 _lowerCamelCase      			=						input('Enter numbers separated by a comma:\n').strip()
 _lowerCamelCase      			=						[int(item) for item in user_input.split(',')]
 print(pancake_sort(unsorted))





