


'''simple docstring'''



def       _UpperCamelCase (						UpperCamelCase__   ):
   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.""")



'''simple docstring'''



def       _UpperCamelCase (						UpperCamelCase__ = 4_0_0_0_0_0_0   ):
			UpperCAmelCase__					:   List[str]       				=       [0, 1]
			UpperCAmelCase__					:   Any       				=       0
			while fib[i] <= n:
						fib.append(fib[i] + fib[i + 1]   )
						if fib[i + 2] > n:
									break
						i += 1
			UpperCAmelCase__					:   str       				=       0
			for j in range(len(UpperCamelCase__   ) - 1   ):
						if fib[j] % 2 == 0:
									total += fib[j]

			return total


if __name__ == "__main__":
		print(f"""{solution() = }""")