Task: Program Execution
Input (English): 3, ['545', 'Q', '2923', '171', 'M', '8681', 'S', '9857']
Output (English): 545, Q, 2923, 171, M