Check whether a number is Quasiperfect number or not.
A Quasiperfect number is a positive integer that is equal to the sum of all its proper divisors plus or minus one. In other words, a number n is quasiperfect if the sum of all its proper divisors is either n+1 or n-1. Examples: Input: 20Output: NOExplanation: The divisors of 20 are 1, 2, 4, 5, 10 an