






'''simple docstring'''





import random


class       snake_case__	:




					@staticmethod
					def 						A	(   _A   :						List[str]	)  ->				Optional[Any]:
								UpperCAmelCase_	:    Any	  =    [ord(_A	) for i in text]
								UpperCAmelCase_	:    List[Any]	  =    []
								UpperCAmelCase_	:    str	  =    []
								for i in plain:
											UpperCAmelCase_	:    List[str]	  =    random.randint(1							,      3_00	)
											UpperCAmelCase_	:    str	  =    (i + k) * k
											cipher.append(_A	)
											key.append(_A	)
								return cipher, key





					@staticmethod
					def 						A	(   _A   :						Optional[Any]							,      _A   :						int	)  ->				int:
								UpperCAmelCase_	:    Optional[Any]	  =    []
								for i in range(len(_A	)	):
											UpperCAmelCase_	:    List[str]	  =    int((cipher[i] - (key[i]) ** 2) / key[i]	)
											plain.append(chr(_A	)	)
								return "".join(_A	)


if __name__ == "__main__":
						_UpperCamelCase      ,				_UpperCamelCase		:		Optional[int]            = Onepad().encrypt('Hello')
						print(c, k)
						print(Onepad().decrypt(c, k))




def     _a					(						lowerCamelCase							):
 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"""))




