Task: Program Execution
Input (English): 6, ['8169', '7019', '9971', '285', '8087', 'g', '7597', 'P', '2353', '1949', '4209', 'I']
Output (English): 7597, P, 2353, 1949, 4209, I