Task: Program Execution
Input (English): 1493, 6123, 9599, i, r, 4879, 1949, 1397, S, m, H, N
Output (English): 1493, 6123, 9599, 9, 18, 4879, 1949, 1397, 19, 13, 8, 14