



'''simple docstring'''

def 	__lowerCamelCase	( lowerCAmelCase_    )     -> Optional[Any]:
		_a	: Any								=				len(lowerCAmelCase_    )
		while cur > 1:
				# Find the maximum number in arr
				_a	: Union[str, Any]								=				arr.index(max(arr[0:cur]    )    )
				# Reverse from 0 to mi
				_a	: Optional[int]								=				arr[mi::-1] + arr[mi + 1 : len(lowerCAmelCase_    )]
				# Reverse whole list
				_a	: Optional[int]								=				arr[cur - 1 :: -1] + arr[cur : len(lowerCAmelCase_    )]
				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))









'''simple docstring'''

from .configuration_bert_masked import MaskedBertConfig
from .modeling_bert_masked import (
    MaskedBertForMultipleChoice,
    MaskedBertForQuestionAnswering,
    MaskedBertForSequenceClassification,
    MaskedBertForTokenClassification,
    MaskedBertModel,
)
from .modules import *




