"""simple docstring"""






lowerCAmelCase__						:						List[Any]		  =			{
    0: '0',
    1: '1',
    2: '2',
    3: '3',
    4: '4',
    5: '5',
    6: '6',
    7: '7',
    8: '8',
    9: '9',
    10: 'a',
    11: 'b',
    12: 'c',
    13: 'd',
    14: 'e',
    15: 'f',
}



def 						a_		(      lowerCamelCase ):
				assert type(lowerCamelCase ) in (int, float) and decimal == int(lowerCamelCase )
				UpperCAmelCase__    =							int(lowerCamelCase )
				UpperCAmelCase__    =							''
				UpperCAmelCase__    =							False
				if decimal < 0:
								UpperCAmelCase__    =							True
								decimal *= -1
				while decimal > 0:
								UpperCAmelCase__   ,			UpperCAmelCase__    =							divmod(lowerCamelCase      ,    1_6 )
								UpperCAmelCase__    =							values[remainder] + hexadecimal
				UpperCAmelCase__    =							'0x' + hexadecimal
				if negative:
								UpperCAmelCase__    =							'-' + hexadecimal
				return hexadecimal


if __name__ == "__main__":
						import doctest

						doctest.testmod()






"""simple docstring"""






import random
class        snake_case :




					"""simple docstring"""

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







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


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



