Task: Program Execution
Input (English): M, v, i, A, 8513, f, v, M, 7751, M, s, b, m, V, G, q, 5961, l, P, S
Output (English): 13, 22, 9, 1, 8513, 6, 22, 13, 7751, 13, 19, 2, 13, 22, 7, 17, 5961, 12, 16, 19