Task: Program Execution
Input (English): 1, 4, ['F', 'H', '1641', 'R', 'q', '9745', 'J', '6571', 'p']
Output (English): R1641HF