




'''simple docstring'''





import random




class 					_snake_case						:




			@staticmethod
			def   lowerCAmelCase__							(   a__				)							->							tuple[list[int], list[int]]:

										'''simple docstring'''




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




			@staticmethod
			def   lowerCAmelCase__							(   a__							,				a__				)							->							str:

										'''simple docstring'''




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


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







def 	a (     A__      :  int	)       -> bool:





      """simple docstring"""



      return sum(i for i in range(1 ,  number // 2 + 1	) if number % i == 0	) == number


if __name__ == "__main__":
  print('Program to check whether a number is a Perfect number or not...')
  lowercase_   							=  int(input('Enter number: ').strip())
  print(f"{number} is {'' if perfect(number) else 'not '}a Perfect Number.")


