Task: Program Execution
Input (English): K, N, a, i, 3723, I, M, p, 2555, 3385, f, 2659, 3557
Output (English): 11, 14, 1, 9, 3723, 9, 13, 16, 2555, 3385, 6, 2659, 3557