Task: Program Execution
Input (English): 2, ['1645', '9365', 'F', '5527', '4127', '37', 'X', '7373', '5323', '6407']
Output (English): 1645, 9365