





'''simple docstring'''

from __future__ import annotations





def lowerCamelCase						(     __lowerCamelCase :    int = 4    )						->list[list[int]]:
    _SCREAMING_SNAKE_CASE									=			abs(__lowerCamelCase    ) or 4
    return [[1 + x + y * row_size for x in range(__lowerCamelCase    )] for y in range(__lowerCamelCase    )]





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->list[list[int]]:
    return reverse_row(transpose(__lowerCamelCase    )    )
    # OR.. transpose(reverse_column(matrix))





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->list[list[int]]:
    return reverse_row(reverse_column(__lowerCamelCase    )    )
    # OR.. reverse_column(reverse_row(matrix))





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->list[list[int]]:
    return reverse_column(transpose(__lowerCamelCase    )    )
    # OR.. transpose(reverse_row(matrix))





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->list[list[int]]:
    _SCREAMING_SNAKE_CASE									=			[list(__lowerCamelCase    ) for x in zip(*__lowerCamelCase    )]
    return matrix





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->list[list[int]]:
    _SCREAMING_SNAKE_CASE									=			matrix[::-1]
    return matrix





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->list[list[int]]:
    _SCREAMING_SNAKE_CASE									=			[x[::-1] for x in matrix]
    return matrix





def lowerCamelCase						(     __lowerCamelCase :    list[list[int]]    )						->None:
    for i in matrix:
        print(*__lowerCamelCase    )


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

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

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










def  _SCREAMING_SNAKE_CASE				(   a  )      ->      Tuple:
					__A    ,				__A	:						Optional[Any]       =				[], []
					while len(a  ) > 1:
										__A    ,				__A	:						Any       =				min(a  ), max(a  )
										start.append(a  )
										end.append(a  )
										collection.remove(a  )
										collection.remove(a  )
					end.reverse()
					return start + collection + end


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




