Task: Program Execution
Input (English): 2, ['1147', 'x', '8251', 'E', 'f', '9945', 'E', '3125', 'H', 'E', '1151', '3369', '4843', '171', 'D', 'K']
Output (English): 1147, x