Task: Program Execution
Input (English): 3, ['7039', 'x', '6101', 'w', 'w', 'p', '3919', 'S', '6207', 'i', '3999', 'p', '7011']
Output (English): 7039, x, 6101