Task: Program Execution
Input (English): 4, ['5749', 'Q', 'W', 'Q', '645', '6993', 'Z', '9929']
Output (English): 5749, Q, W, Q