Task: Program Execution
Input (English): 2, 5, ['9891', 'C', '8571', 'E', '5031', 'O', '5713', '5687', 'x', '111', '8223', '1369', 'P']
Output (English): 5031, E, 8571, C