Task: Program Execution
Input (English): 3, 6, ['O', '4903', 'P', '701', '521', 'B']
Output (English): P701521B