
'''simple docstring'''







import random






class  lowerCAmelCase__   :






					@staticmethod
					def 	_snake_case    (   __SCREAMING_SNAKE_CASE		):


											"""simple docstring"""





											lowercase_	:     Dict													=       [ord(__SCREAMING_SNAKE_CASE		) for i in text]
											lowercase_	:     Optional[Any]													=       []
											lowercase_	:     Union[str, Any]													=       []
											for i in plain:
																	lowercase_	:     List[str]													=       random.randint(1				,							3_00		)
																	lowercase_	:     Optional[int]													=       (i + k) * k
																	cipher.append(__SCREAMING_SNAKE_CASE		)
																	key.append(__SCREAMING_SNAKE_CASE		)
											return cipher, key






					@staticmethod
					def 	_snake_case    (   __SCREAMING_SNAKE_CASE				,							__SCREAMING_SNAKE_CASE		):


											"""simple docstring"""





											lowercase_	:     Tuple													=       []
											for i in range(len(__SCREAMING_SNAKE_CASE		)		):
																	lowercase_	:     Union[str, Any]													=       int((cipher[i] - (key[i]) ** 2) / key[i]		)
																	plain.append(chr(__SCREAMING_SNAKE_CASE		)		)
											return "".join(__SCREAMING_SNAKE_CASE		)


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





'''simple docstring'''




import os







def 		lowerCAmelCase_				(   ):




    '''simple docstring'''



    A       :   List[Any]					=						os.path.join(os.path.dirname(snake_case__						)		,				'''num.txt'''						)
    with open(snake_case__						) as file_hand:
        return str(sum(int(snake_case__						) for line in file_hand						)						)[:10]


if __name__ == "__main__":
      print(solution())




