Task: Program Execution
Input (English): k, 213, j, 3707, p, 1339, 6667, 3961, t, 7735
Output (English): 23622