

from __future__ import annotations





def  __lowerCamelCase     (			UpperCamelCase__ = 4				):







							'''simple docstring'''






							snake_case_          =   abs(UpperCamelCase__				) or 4
							return [[1 + x + y * row_size for x in range(UpperCamelCase__				)] for y in range(UpperCamelCase__				)]





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							return reverse_row(transpose(UpperCamelCase__				)				)
							# OR.. transpose(reverse_column(matrix))





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							return reverse_row(reverse_column(UpperCamelCase__				)				)
							# OR.. reverse_column(reverse_row(matrix))





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							return reverse_column(transpose(UpperCamelCase__				)				)
							# OR.. transpose(reverse_row(matrix))





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   [list(UpperCamelCase__				) for x in zip(*UpperCamelCase__				)]
							return matrix





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   matrix[::-1]
							return matrix





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   [x[::-1] for x in matrix]
							return matrix





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							for i in matrix:
														print(*UpperCamelCase__				)


if __name__ == "__main__":
					_UpperCAmelCase		:       List[str]						    =	make_matrix()
					print("""\norigin:\n""")
					print_matrix(matrix)
					print("""\nrotate 90 counterclockwise:\n""")
					print_matrix(rotate_aa(matrix))

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

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







def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   1
							snake_case_          =   2
							while i * i <= n:
														snake_case_          =   0
														while n % i == 0:
																					n //= i
																					multiplicity += 1
														n_divisors *= multiplicity + 1
														i += 1
							if n > 1:
														n_divisors *= 2
							return n_divisors





def  __lowerCamelCase     (			):







							'''simple docstring'''






							snake_case_          =   1
							snake_case_          =   1

							while True:
														i += 1
														t_num += i

														if count_divisors(UpperCamelCase__				) > 500:
																					break

							return t_num


if __name__ == "__main__":
					print(solution())




