Task: Program Execution
Input (English): 3, ['3169', '2495', '1561', 'V', '6149', 'c', '989', 'W', 'B', '5789', '3559', '6349']
Output (English): 3169, 2495, 1561