Task: Program Execution
Input (English): q, z, 427, 2359, i, l, 7849, 4987, M, 3373, 6419, a, v, r, a, 8251, 5391, 5145, 3577, S, 9851
Output (English): 17, 26, 427, 2359, 9, 12, 7849, 4987, 13, 3373, 6419, 1, 22, 18, 1, 8251, 5391, 5145, 3577, 19, 9851