Task: Program Execution
Input (English): 4, 11, ['F', 'N', '3417', 'p', 'b', 'f', '3505', '229', '3939', 'B', 'N', 'M', '2551', 'P', '5031', 'E', 'R', '9307', '4933', 'j', '2715', 's', '8851', 'Z']
Output (English): p, 5031