Task: Program Execution
Input (English): 341, 1711, V, N, 8041, Z, 3171, 1975, i, 5247, 5859
Output (English): 341, 1711, 22, 14, 8041, 26, 3171, 1975, 9, 5247, 5859