Task: Program Execution
Input (English): B, O, G, 2549, 6709, z, f, x, 7635, 1571
Output (English): 4, 5, 9, 10