Task: Program Execution
Input (English): 2, 3, ['P', '6313', 'N', '2825', '8819', '1187', 'b', 'V', 'E', '351', '1417', '1997', '6483', '3049', '7531']
Output (English): N6313