Task: Program Execution
Input (English): 6, 7, ['6577', 'C', '1251', '3783', '2847', 'Z', '9145', '2239']
Output (English): 5419Z