Task: Program Execution
Input (English): G, 6311, 905, 7861, 8051, Z, G, 5453, p, 6447, Z, 6861, 6837, n, a, I, 661, S, b
Output (English): 2, 3, 4, 5, 8, 10, 12, 13, 17