public static int METHOD_1 ( int [ ] a ) { int VAR_1 = a [ 0 ] ; int count = 1 ; for ( int i = 1 ; i < ( a . length ) ; ++ i ) { if ( ( a [ i ] ) == VAR_1 ) { count ++ ; } else { count -- ; if ( count < 0 ) { VAR_1 = a [ i ] ; count = 1 ; } } } return VAR_1 ; }

public static int METHOD_1 ( int [ ] a ) { int VAR_1 = a [ 0 ] ; int count = 1 ; for ( int i = 1 ; i < ( a . length ) ; i ++ ) { if ( ( a [ i ] ) == VAR_1 ) { count ++ ; } else { count -- ; if ( count < 0 ) { VAR_1 = a [ i ] ; count = 1 ; } } } return VAR_1 ; }
