





"""simple docstring"""






def     __A      (			a_						:int)		->		bool:
				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     __A      (			a_						:int = 2_00)		->		int:
				__a :						int			       =  [1, 2, 5, 10, 20, 50, 1_00, 2_00]
				__a :						List[Any]			       =  [0] * (pence + 1)
				__a :						Tuple			       =  1  # base case: 1 way to make 0 pence

				for coin in coins:
								for i in range(a_   ,       pence + 1   ,       1):
												number_of_ways[i] += number_of_ways[i - coin]
				return number_of_ways[pence]


if __name__ == "__main__":
		assert solution(200) == 73_682