Task: Program Execution
Input (English): D, j, W, 6881, 1909, 393, 1021, 1039, 5559
Output (English): 4, 10, 23, 6881, 1909, 393, 1021, 1039, 5559