from __future__ import annotations





def        lowercase(     UpperCamelCase_ = 4    )						->     Dict:







 '''simple docstring'''
 UpperCamelCase          =	abs(_UpperCamelCase    ) or 4
 return [[1 + x + y * row_size for x in range(_UpperCamelCase    )] for y in range(_UpperCamelCase    )]





def        lowercase(     UpperCamelCase_    )						->     List[str]:







 '''simple docstring'''
 return reverse_row(transpose(_UpperCamelCase    )    )
 # OR.. transpose(reverse_column(matrix))





def        lowercase(     UpperCamelCase_    )						->     Tuple:







 '''simple docstring'''
 return reverse_row(reverse_column(_UpperCamelCase    )    )
 # OR.. reverse_column(reverse_row(matrix))





def        lowercase(     UpperCamelCase_    )						->     Optional[Any]:







 '''simple docstring'''
 return reverse_column(transpose(_UpperCamelCase    )    )
 # OR.. transpose(reverse_row(matrix))





def        lowercase(     UpperCamelCase_    )						->     Optional[int]:







 '''simple docstring'''
 UpperCamelCase          =	[list(_UpperCamelCase    ) for x in zip(*_UpperCamelCase    )]
 return matrix





def        lowercase(     UpperCamelCase_    )						->     int:







 '''simple docstring'''
 UpperCamelCase          =	matrix[::-1]
 return matrix





def        lowercase(     UpperCamelCase_    )						->     str:







 '''simple docstring'''
 UpperCamelCase          =	[x[::-1] for x in matrix]
 return matrix





def        lowercase(     UpperCamelCase_    )						->     Union[str, Any]:







 '''simple docstring'''




 for i in matrix:
  print(*_UpperCamelCase    )


if __name__ == "__main__":
     _SCREAMING_SNAKE_CASE      						=	make_matrix()
     print("""\norigin:\n""")
     print_matrix(matrix)
     print("""\nrotate 90 counterclockwise:\n""")
     print_matrix(rotate_aa(matrix))

     _SCREAMING_SNAKE_CASE      						=	make_matrix()
     print("""\norigin:\n""")
     print_matrix(matrix)
     print("""\nrotate 180:\n""")
     print_matrix(rotate_aaa(matrix))

     _SCREAMING_SNAKE_CASE      						=	make_matrix()
     print("""\norigin:\n""")
     print_matrix(matrix)
     print("""\nrotate 270 counterclockwise:\n""")
     print_matrix(rotate_aaa(matrix))




"""simple docstring"""


def _lowerCamelCase	(		_UpperCamelCase      ):

			'''simple docstring'''




			__lowerCAmelCase				    =			False
			while is_sorted is False:  # Until all the indices are traversed keep looping
						__lowerCAmelCase				    =			True
						for i in range(0    , len(_UpperCamelCase      ) - 1    , 2      ):  # iterating over all even indices
									if input_list[i] > input_list[i + 1]:
												__lowerCAmelCase    ,	__lowerCAmelCase				    =			input_list[i + 1], input_list[i]
												# swapping if elements not in order
												__lowerCAmelCase				    =			False

						for i in range(1    , len(_UpperCamelCase      ) - 1    , 2      ):  # iterating over all odd indices
									if input_list[i] > input_list[i + 1]:
												__lowerCAmelCase    ,	__lowerCAmelCase				    =			input_list[i + 1], input_list[i]
												# swapping if elements not in order
												__lowerCAmelCase				    =			False
			return input_list


if __name__ == "__main__":
	print("Enter list to be sorted")
	A     :   Union[str, Any]			    =			[int(x) for x in input().split()]
	# inputing elements of the list in one line
	A     :   str			    =			odd_even_sort(input_list)
	print("The sorted list is")
	print(sorted_list)




