Task: Program Execution
Input (English): o, r, 553, q, 9831, W, q, 9131, G, 2671, N, 7635, 9009, 5001
Output (English): 3, 5, 8, 10, 12, 13, 14