Task: Program Execution
Input (English): 2, ['m', 'x', '5175', 'Q', 'Q']
Output (English): 5175, Q, Q