Task: Program Execution
Input (English): 3195, j, 1627, w, D, K
Output (English): 3195, 10, 1627, 23, 4, 11