




def        __UpperCAmelCase						(							lowerCamelCase_ :     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...''')
						UpperCamelCase__ :   Optional[int]						=							int(input('''Enter number: ''').strip())
						print(F"""{number} is {"" if perfect(number) else "not "}a Perfect Number.""")










__lowerCamelCase			:	str					    =	6_5521



def 						A_							(	_lowerCAmelCase	)		->					int:
 UpperCamelCase      :   Any			      =  1
 UpperCamelCase      :   str			      =  0
 for plain_chr in plain_text:
  UpperCamelCase      :   List[Any]			      =  (a + ord(_lowerCAmelCase	)) % MOD_ADLER
  UpperCamelCase      :   List[Any]			      =  (b + a) % MOD_ADLER
 return (b << 16) | a
