Task: Program Execution
Input (English): 3, ['6723', '6389', '4217', 'L', 'O', 'A', 'm', '8043', '7783', 'X', '9583', '8743', 'H', '4527', '6789']
Output (English): 6723, 6389, 4217