Task: Program Execution
Input (English): K, z, 6589, 3707, d, c, 6159, U, e, 3297, N
Output (English): 3, 4, 7, 10