Task: Program Execution
Input (English): 4, 6, ['6371', 'S', '8767', '8325', 'I', 'P', 'R', '5995', '3227']
Output (English): P, I, 8325