Task: Program Execution
Input (English): 2, ['8963', '9991', '5223', 'X', '515', 'J']
Output (English): 8963, 9991