


'''simple docstring'''






from __future__ import annotations





def 							UpperCAmelCase      (		lowerCamelCase_  :int = 4 ):







		'''simple docstring'''
		snake_case_		:							Union[str, Any]			       =						abs(__snake_case ) or 4
		return [[1 + x + y * row_size for x in range(__snake_case )] for y in range(__snake_case )]





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







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





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







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





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







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





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







		'''simple docstring'''
		snake_case_		:							int			       =						[list(__snake_case ) for x in zip(*__snake_case )]
		return matrix





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







		'''simple docstring'''
		snake_case_		:							Optional[int]			       =						matrix[::-1]
		return matrix





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







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





def 							UpperCAmelCase      (		lowerCamelCase_  :list[list[int]] ):







		'''simple docstring'''


		for i in matrix:
				print(*__snake_case )


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

							__A	:	Optional[int]     =     make_matrix()
							print('\norigin:\n')
							print_matrix(matrix)
							print('\nrotate 180:\n')
							print_matrix(rotate_aaa(matrix))

							__A	:	List[Any]     =     make_matrix()
							print('\norigin:\n')
							print_matrix(matrix)
							print('\nrotate 270 counterclockwise:\n')
							print_matrix(rotate_aaa(matrix))



'''simple docstring'''






def      UpperCAmelCase      (		lowerCamelCase_  :str ):







		'''simple docstring'''
		return " ".join(
		    """""".join(word[::-1] ) if len(lowerCamelCase_ ) > 4 else word for word in sentence.split() )


if __name__ == "__main__":
							import doctest

							doctest.testmod()
							print(reverse_long_words('Hey wollef sroirraw'))