Task: Program Execution
Input (English): 2, 8, ['K', 'w', 'x', '9773', 'b', '1365', 'x', 'u', 'R', 'q', '8361', 'R', '6107', 'd', '7317']
Output (English): wx9773b1365xu