temp stores the current answer , including the modification of the first two elements .
temp = abs ( a1 - a [ 1 ] ) + abs ( a2 - a [ 2 ] ) NEW_LINE if a1 == 0 or a2 == 0 : NEW_LINE INDENT continue NEW_LINE DEDENT