Task: Program Execution
Input (English): D, r, 4797, h, 4057, 6439, 7773, 129, 9779, w, J, i, 7237, 991
Output (English): 4, 18, 4797, 8, 4057, 6439, 7773, 129, 9779, 23, 10, 9, 7237, 991