Task: Program Execution
Input (English): G, P, 4651, W, Q, i, H, N, 3641, 743
Output (English): 3, 9, 10