




def lowerCamelCase__  (     _lowercase ):

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





def lowerCamelCase__  (     ):

     '''simple docstring'''


     UpperCAmelCase_     :				Dict  =     0
     for i in range(1					,		1001 ):
          total += i**i
     return str(_lowercase )[-10:]


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