Task: Program Execution
Input (English): 2, ['2861', '2365', '2349', 'J', '419', '4401', 'J', '7823', 'N']
Output (English): 2349, J, 419, 4401, J, 7823, N