Task: Program Execution
Input (English): d, s, 8973, b, G, k, 8241, 3731, f, 247, g, a, H
Output (English): 4, 19, 8973, 2, 7, 11, 8241, 3731, 6, 247, 7, 1, 8