Task: Program Execution
Input (English): 3, 14, ['8277', '9147', '6577', 'R', '6337', 'z', '731', '153', 'n', '321', 'X', '5747', 'o', '2819']
Output (English): 6577R6337z731153n321X5747o2819