Task: Program Execution
Input (English): 5, ['4115', 'F', 'N', 'I', 'n', 'Q', '6545', '8747', 'x', 'R', 'd', '9267']
Output (English): Q, 6545, 8747, x, R, d, 9267