Task: Program Execution
Input (English): 3, 9, ['3049', 'v', 'w', 'Q', '6159', '6247', 'Q', '9887', 'i', '8489']
Output (English): i, 9887, Q, 6247, 6159, Q, w