import random






class 		a__						:

					@staticmethod
					def 				__UpperCamelCase   (    _A      :       str    ):







							"""simple docstring"""






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






					@staticmethod
					def 				__UpperCamelCase   (    _A      :       list[int],_A      :       list[int]    ):







							"""simple docstring"""






							SCREAMING_SNAKE_CASE_  :		int				      =    []
							for i in range(len(_A    )    ):
									SCREAMING_SNAKE_CASE_  :		Tuple				      =    int((cipher[i] - (key[i]) ** 2) / key[i]    )
									plain.append(chr(_A    )    )
							return "".join(_A    )


if __name__ == "__main__":
		__lowerCamelCase   ,						__lowerCamelCase					:	List[Any]       =  Onepad().encrypt('''Hello''')
		print(c, k)
		print(Onepad().decrypt(c, k))

from math import factorial, radians




def       _snake_case	(   lowerCAmelCase							:   float   , lowerCAmelCase							:   int = 1_8   , lowerCAmelCase							:   int = 1_0	):
		"""simple docstring"""







		SCREAMING_SNAKE_CASE_  :		List[str]				      =    angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

		# Converting from degrees to radians
		SCREAMING_SNAKE_CASE_  :		Tuple				      =    radians(lowerCAmelCase	)

		SCREAMING_SNAKE_CASE_  :		Optional[Any]				      =    angle_in_radians
		SCREAMING_SNAKE_CASE_  :		List[str]				      =    3
		SCREAMING_SNAKE_CASE_  :		str				      =    -1

		for _ in range(lowerCAmelCase	):
				result += (b * (angle_in_radians**a)) / factorial(lowerCAmelCase	)

				SCREAMING_SNAKE_CASE_  :		Dict				      =    -b  # One positive term and the next will be negative and so on...
				a += 2  # Increased by 2 for every term.

		return round(lowerCAmelCase   , lowerCAmelCase	)


if __name__ == "__main__":
		__import__('''doctest''').testmod()
