Task: Program Execution
Input (English): 2, 4, ['Y', 'Q', '9767', 'w']
Output (English): w, 9767, Q