Task: Program Execution
Input (English): d, w, 89, 5527, 3085, 3949, p, 189, 707, G, K, a, d, i, 35, 6803, d, 1009, 6895
Output (English): 4, 23, 89, 5527, 3085, 3949, 16, 189, 707, 7, 11, 1, 4, 9, 35, 6803, 4, 1009, 6895