



"""simple docstring"""





import random



class    _lowerCAmelCase    :





		"""simple docstring"""






		@staticmethod
		def    UpperCAmelCase__							(					_lowercase   ) ->						str:







								'''simple docstring'''

								snake_case_   : List[str]						=			[ord(_lowerCamelCase   ) for i in text]
								snake_case_   : int						=			[]
								snake_case_   : int						=			[]
								for i in plain:
														snake_case_   : Any						=			random.randint(1							,    3_0_0   )
														snake_case_   : str						=			(i + k) * k
														cipher.append(_lowerCamelCase   )
														key.append(_lowerCamelCase   )
								return cipher, key





		@staticmethod
		def    UpperCAmelCase__							(					_lowercase							,    _lowercase   ) ->						Dict:







								'''simple docstring'''

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


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






"""simple docstring"""





def 	__lowerCAmelCase						(		__UpperCamelCase      :			str    ):


						'''simple docstring'''






						return " ".join(input_str.split()[::-1]    )


if __name__ == "__main__":
					import doctest

					doctest.testmod()

