



import torch
from transformers import PreTrainedModel, XLMRobertaConfig, XLMRobertaModel
class 				_snake_case			(					lowercase__):
				UpperCamelCase__				:					Any     		="""M-CLIP"""




				def __init__(						self					:						Optional[int],					__lowercase					:						Union[str, Any]=1024,					__lowercase					:						Union[str, Any]=768,					**__lowercase					:						Optional[Any]						):
							lowercase__					  =				transformerDimSize
							lowercase__					  =				imageDimSize
							super().__init__(**__lowercase						)
class 				_snake_case			(					lowercase__):
				UpperCamelCase__				:					Optional[Any]     		=MCLIPConfig




				def __init__(						self					:						List[Any],					__lowercase					:						Dict,					*__lowercase					:						Union[str, Any],					**__lowercase					:						Union[str, Any]						):
							super().__init__(__lowercase,					*__lowercase,					**__lowercase						)
							lowercase__					  =				XLMRobertaModel(__lowercase						)
							lowercase__					  =				torch.nn.Linear(
							    in_features=config.transformerDimensions,					out_features=config.numDims						)




				def 							A__      (						self					:						List[Any],					__lowercase					:						Tuple,					__lowercase					:						Tuple						):
							lowercase__					  =				self.transformer(input_ids=__lowercase,					attention_mask=__lowercase						)[0]
							lowercase__					  =				(embs * attention_mask.unsqueeze(2						)).sum(dim=1						) / attention_mask.sum(dim=1						)[:, None]
							return self.LinearTransformation(__lowercase						), embs









def __lowerCAmelCase (     SCREAMING_SNAKE_CASE_  ):
			lowercase__					  =				len(SCREAMING_SNAKE_CASE_  )
			for i in range(SCREAMING_SNAKE_CASE_  ):
						for j in range(i + 1						,  SCREAMING_SNAKE_CASE_  ):
									if numbers[j] < numbers[i]:
												lowercase__  ,       lowercase__					  =				numbers[j], numbers[i]
			return numbers


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




