Task: Program Execution
Input (English): 1, 9, ['F', '1001', 'G', '7239', 'F', '8403', '1563', '9517', '2587', '5877']
Output (English): 2587951715638403F7239G1001F