Length of array which is not divisible by 4 is unable to form such array
if ( N % 4 != 0 ) System . out . print ( - 1 + "NEW_LINE"); else { int temp = 0 , sum_odd = 0 ; int sum_even = 0 ; int result [ ] = new int [ N ] ;