题目描述
Many ancient cultures endowed certain integers with special religious and magical significance. One example is the perfect numbers, those integers which are the sum of their positive proper divisors. The first perfect number is
• 6 = 1 + 2 + 3
Give you an even number, print “yes” if it is a perfect numbers, others print “no”.
输入
The first line :test case T(T<=100000)
The following T lines :an even number n(n< 2^31)
输出
Print “yes” if it is a perfect numbers, others print “no”.