Task: Program Execution
Input (English): 5, 12, ['8541', 'B', '1557', 'O', 'f', '6979', '771', 'J', 'x', '7771', '2277', 'S', '7571']
Output (English): S22777771xJ7716979f