If second occurrence
elif rem_2 [ 1 ] == - 1 : NEW_LINE INDENT rem_2 [ 1 ] = i NEW_LINE DEDENT if rem_2 [ 0 ] != - 1 and rem_2 [ 1 ] != - 1 : NEW_LINE removeAndPrintResult ( arr , n , rem_2 [ 0 ] , rem_2 [ 1 ] ) NEW_LINE return True NEW_LINE