Task: Program Execution
Input (English): 3, ['v', '1481', '9843', 'p', '4535', '5653', '4851', 'd', '8969', 'v']
Output (English): v, p, 4851, v