




'''simple docstring'''




def      a_							(      __snake_case							:			str   )							->						Union[str, Any]:



       """simple docstring"""
       lowerCamelCase_							=0
       for ch in input_str:
              lowerCamelCase_							=ord(__snake_case   )
              lowerCamelCase_							=pow(2   ,       __snake_case   )

              # If we already turned on bit for current character's unicode
              if bitmap >> ch_unicode & 1 == 1:
                     return False
              bitmap |= ch_bit_index_on
       return True


if __name__ == "__main__":
     import doctest

     doctest.testmod()












"""simple docstring"""



def 						_SCREAMING_SNAKE_CASE (    __snake_case			:  int    ):





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


