






"""simple docstring"""
def 							snake_case (  A__		):
			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...''')
			lowerCamelCase_							      = int(input('''Enter number: ''').strip())
			print(f'{number} is {"" if perfect(number) else "not "}a Perfect Number.')







'''simple docstring'''
def       _lowercase							(					UpperCamelCase__							:       int,					UpperCamelCase__							:       int      ):
 return 1 if input_a == input_a else 0


def       _lowercase							(					):
 assert xnor_gate(0,					0      ) == 1
 assert xnor_gate(0,					1      ) == 0
 assert xnor_gate(1,					0      ) == 0
 assert xnor_gate(1,					1      ) == 1


if __name__ == "__main__":
 print(xnor_gate(0, 0))
 print(xnor_gate(0, 1))
 print(xnor_gate(1, 0))
 print(xnor_gate(1, 1))






