Task: Program Execution
Input (English): 2, 4, ['X', '5911', '4635', 'U', '363', '5645', '8327', '3161', 'E', '5225', 'N', '5671', 'E', 'B']
Output (English): 5911, 4635, U