Task: Program Execution
Input (English): 3, ['6849', 'E', '173', '5003', 'T', '7581', '7981', 'r', 'i', 'u', 'B']
Output (English): 6849, 5003, 7981, u