Task: Program Execution
Input (English): 2, 8, ['8417', '7165', '3575', 'O', '6887', 'g', '2677', '4385', 'n', 'Z', '3141']
Output (English): 4385, 2677, g, 6887, O, 3575, 7165