




from __future__ import annotations



def 							_A       (						lowerCAmelCase_					: int = 4      ):
     """simple docstring"""

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



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

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



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

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



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

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



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

     lowerCAmelCase__          =			[list(lowerCAmelCase_      ) for x in zip(*lowerCAmelCase_      )]
     return matrix



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

     lowerCAmelCase__          =			matrix[::-1]
     return matrix



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

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



def 							_A       (						lowerCAmelCase_					: list[list[int]]      ):
     """simple docstring"""

     for i in matrix:
          print(*lowerCAmelCase_      )


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

 UpperCamelCase								=					make_matrix()
 print('\norigin:\n')
 print_matrix(matrix)
 print('\nrotate 180:\n')
 print_matrix(rotate_aaa(matrix))

 UpperCamelCase								=					make_matrix()
 print('\norigin:\n')
 print_matrix(matrix)
 print('\nrotate 270 counterclockwise:\n')
 print_matrix(rotate_aaa(matrix))






import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer



def 							_A       (						lowerCAmelCase_					: str       ,    lowerCAmelCase_					: str       ,    **lowerCAmelCase_					: str      ):
     """simple docstring"""

     lowerCAmelCase__          =			AutoConfig.from_pretrained(lowerCAmelCase_       ,    **lowerCAmelCase_      )
     lowerCAmelCase__          =			AutoModelForSeqaSeqLM.from_config(lowerCAmelCase_      )
     model.save_pretrained(lowerCAmelCase_      )
     AutoTokenizer.from_pretrained(lowerCAmelCase_      ).save_pretrained(lowerCAmelCase_      )
     return model


if __name__ == "__main__":
     fire.Fire(save_randomly_initialized_version)
