Task: Program Execution
Input (English): M, o, o, c, 9231, S, g, t, V, 2195, 4647, T, Y, 1437, 6981, 3705, 4845
Output (English): 5, 10, 11, 14, 15, 16, 17