Task: Program Execution
Input (English): 1, 5, ['Q', 'q', '3287', '489', 'S']
Output (English): S, 489, 3287, q, Q