Task: Program Execution
Input (English): 4, 6, ['C', '2107', '9611', 'B', 'Z', '1855', '2325']
Output (English): 5581ZB