Task: Program Execution
Input (English): 3, 4, ['7669', '9585', '1495', 'L', '4897', '3979', '6685', 'a', 'M', 'J', '2653', '8609', 'T', '8905', '5599', 'L']
Output (English): 1495, 6685, 2653, 5599