Task: Program Execution
Input (English): 2, ['S', '1457', 'w', 'Q', 'f']
Output (English): S, 1457, w