temp stores the current answer , including the modification of the first two elements .
int temp = ( int ) ( Math . Abs ( a1 - a [ 1 ] ) + Math . Abs ( a2 - a [ 2 ] ) ) ; if ( a1 == 0 a2 == 0 ) continue ;