Task: Program Execution
Input (English): 4, 6, ['2517', '2483', 'O', '5401', 'L', '3471']
Output (English): 3471, L, 5401