Task: Program Execution
Input (English): 3, 6, ['a', '3195', '6219', 'F', '6615', '4395', 'C', '4675', '3329', 'L', '4651', 'A', 'n', 'U', '1901', '267', 'V', '893']
Output (English): 6219, 3329, 1901