Task: Program Execution
Input (English): 4, 5, ['S', '9941', '433', '851', 'A', '2463', '2783']
Output (English): 851A