private static boolean METHOD_1 ( int k ) { int i = 1 ; while ( ( i * i ) < k ) i ++ ; return ( i * i ) == k ; } 

private static boolean METHOD_1 ( long k ) { long i = 1 ; while ( ( i * i ) < k ) i ++ ; return ( i * i ) == k ; } 
