If misplaced letter is found , print its original index and its new index
if ( A [ b ] != - 1 ) : NEW_LINE INDENT print ( i + 1 , A [ b ] + 1 ) NEW_LINE return NEW_LINE DEDENT if ( B [ a ] != - 1 ) : NEW_LINE INDENT print ( i + 1 , B [ a ] + 1 ) NEW_LINE return NEW_LINE DEDENT