Task: Program Execution
Input (English): 1, 5, ['7381', '6597', '1849', '4983', 'Y', 'P', 'J', '8429']
Output (English): 7381, 6597, 1849, 4983, Y