Task: Program Execution
Input (English): 7, 12, ['P', '5521', 'K', '4679', 'K', 'E', 'o', '7351', '8681', 'F', 'R', '6505', '6901', 'x', '6423', '1031']
Output (English): 6505, R, F, 8681, 7351, o