Task: Program Execution
Input (English): 3, 6, ['L', '1805', 'a', 'i', 'X', '471', 'f', '6279', '9353', '2911', '6849']
Output (English): 471Xia