Task: Program Execution
Input (English): 6, ['3017', 'U', '4799', 'C', '5757', '2449', '2671', '6037', '7613', '621', '2853', 'U', '429', '4637', '9629', '7257', 'V', 'b', '7427', 'n', 'V', 'P']
Output (English): 3017, U, 4799, C, 5757, 2449