


"""simple docstring"""



import random







class    __a						:







				@staticmethod
				def      lowerCamelCase_     ( UpperCAmelCase   ):

					'''simple docstring'''






					lowerCAmelCase_      							=			[ord(UpperCAmelCase   ) for i in text]
					lowerCAmelCase_      							=			[]
					lowerCAmelCase_      							=			[]
					for i in plain:
						lowerCAmelCase_      							=			random.randint(1      ,	300   )
						lowerCAmelCase_      							=			(i + k) * k
						cipher.append(UpperCAmelCase   )
						key.append(UpperCAmelCase   )
					return cipher, key







				@staticmethod
				def      lowerCamelCase_     ( UpperCAmelCase      ,	UpperCAmelCase   ):

					'''simple docstring'''






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


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



"""simple docstring"""



def      UpperCAmelCase     (       _lowercase :   int = 1_0_0_0	)						-> int:


	"""simple docstring"""




	lowerCAmelCase_							,	lowerCAmelCase_      							=			1, 1
	lowerCAmelCase_      							=			[]
	for i in range(1			,   n + 1	):
		lowerCAmelCase_      							=			prev_numerator + 2 * prev_denominator
		lowerCAmelCase_      							=			prev_numerator + prev_denominator
		if len(str(_lowercase	)	) > len(str(_lowercase	)	):
			result.append(_lowercase	)
		lowerCAmelCase_      							=			numerator
		lowerCAmelCase_      							=			denominator

	return len(_lowercase	)


if __name__ == "__main__":
		print(f"""{solution() = }""")