Task: Program Execution
Input (English): 1, 2, ['2395', 'h', '9829', '9077', 'Z', '1867', '2315', 'V', 'Z']
Output (English): 2395, 9829, Z, 2315, Z