Function to check if count of even divisors is even and count of odd divisors is odd
static void checkFactors ( int x ) { if ( isPerfectSquare ( x ) ) System . out . print ( " Yes " ) ; else System . out . print ( " No " ) ; }