





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













from __future__ import annotations


def _A       (   __magic_name__  , __magic_name__	):
   lowercase__			       =  0
   lowercase__			       =  len(__magic_name__	) - 1

   while i < j:
      if nums[i] + nums[j] == target:
         return [i, j]
      elif nums[i] + nums[j] < target:
         lowercase__			       =  i + 1
      else:
         lowercase__			       =  j - 1

   return []


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  print(F"""{two_pointer([2, 7, 11, 15], 9) = }""")






