
'''simple docstring'''

import random




class    lowerCAmelCase       :


 @staticmethod
 def    _A	(    a__  : str    ):
  '''simple docstring'''

  lowerCAmelCase__     :   Optional[Any]     		=	[ord(a__    ) for i in text]
  lowerCAmelCase__     :   Any     		=	[]
  lowerCAmelCase__     :   List[str]     		=	[]
  for i in plain:
   lowerCAmelCase__     :   int     		=	random.randint(1			,							300    )
   lowerCAmelCase__     :   int     		=	(i + k) * k
   cipher.append(a__    )
   key.append(a__    )
  return cipher, key


 @staticmethod
 def    _A	(    a__  : list[int]			,							a__  : list[int]    ):
  '''simple docstring'''

  lowerCAmelCase__     :   Union[str, Any]     		=	[]
  for i in range(len(a__    )    ):
   lowerCAmelCase__     :   int     		=	int((cipher[i] - (key[i]) ** 2) / key[i]    )
   plain.append(chr(a__    )    )
  return "".join(a__    )


if __name__ == "__main__":
     snake_case					,					snake_case									=    Onepad().encrypt("""Hello""")
     print(c, k)
     print(Onepad().decrypt(c, k))







'''simple docstring'''

def        UpperCAmelCase_ (  lowerCamelCase_      ,			lowerCamelCase_      ,			lowerCamelCase_      ,			lowerCamelCase_			):







 """simple docstring"""


 if height >= 1:
  move_tower(height - 1      ,			lowerCamelCase_      ,			lowerCamelCase_      ,			lowerCamelCase_			)
  move_disk(lowerCamelCase_      ,			lowerCamelCase_			)
  move_tower(height - 1      ,			lowerCamelCase_      ,			lowerCamelCase_      ,			lowerCamelCase_			)


def        UpperCAmelCase_ (  lowerCamelCase_      ,			lowerCamelCase_			):







 """simple docstring"""


 print("moving disk from"      ,			lowerCamelCase_      ,			"to"      ,			lowerCamelCase_			)


def        UpperCAmelCase_ (  ):







 """simple docstring"""


 lowerCAmelCase__     :   List[str]     		=	int(input("Height of hanoi: "			).strip()			)
 move_tower(lowerCamelCase_      ,			"A"      ,			"B"      ,			"C"			)


if __name__ == "__main__":
     main()





