Task: Program Execution
Input (English): 6, 12, ['v', '2981', '3821', '631', '8463', 's', '6117', 't', 'S', '8863', '7815', 'r', '6615', '8921', '6403', '9389', 'x']
Output (English): r51873688St7116s