





'''simple docstring'''




import random






class UpperCAmelCase							:



				@staticmethod
				def 					__lowerCamelCase						(  __A					):
					__UpperCAmelCase					=   [ord(__A					) for i in text]
					__UpperCAmelCase					=   []
					__UpperCAmelCase					=   []
					for i in plain:
						__UpperCAmelCase					=   random.randint(1     ,			300					)
						__UpperCAmelCase					=   (i + k) * k
						cipher.append(__A					)
						key.append(__A					)
					return cipher, key




				@staticmethod
				def 					__lowerCamelCase						(  __A     ,			__A					):
					__UpperCAmelCase					=   []
					for i in range(len(__A					)					):
						__UpperCAmelCase					=   int((cipher[i] - (key[i]) ** 2) / key[i]					)
						plain.append(chr(__A					)					)
					return "".join(__A					)


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












'''simple docstring'''




from collections.abc import Sequence







def _lowerCAmelCase     (      _lowerCAmelCase       ,    _lowerCAmelCase    )->     float:
 return sum(c * (x**i) for i, c in enumerate(_lowerCAmelCase    )    )







def _lowerCAmelCase     (      _lowerCAmelCase       ,    _lowerCAmelCase    )->     float:
 __UpperCAmelCase					=   0.0
 for coeff in reversed(_lowerCAmelCase    ):
  __UpperCAmelCase					=   result * x + coeff
 return result


if __name__ == "__main__":
    _A:					str							=				(0.0, 0.0, 5.0, 9.3, 7.0)
    _A:					Dict							=				10.0
    print(evaluate_poly(poly, x))
    print(horner(poly, x))





