Task: Program Execution
Input (English): O, 5151, 3759, q, G, 123, 3211, d, 4455, M, 977, o, 7061
Output (English): 1, 4, 5, 8, 10, 12