Task: Program Execution
Input (English): 3, 4, ['P', 'C', 'x', '5235', '5123', '9485', 's', '6499', '2101', 'b', 'P', '5039', 'K', 'p']
Output (English): 5325x