Task: Program Execution
Input (English): g, q, 5519, 8361, 6327, 3851, 2847, V, q, 5471, A, Q, o, b, 1859, 9263, 6779, a, 1933, 2355, c
Output (English): 7, 17, 5519, 8361, 6327, 3851, 2847, 22, 17, 5471, 1, 17, 15, 2, 1859, 9263, 6779, 1, 1933, 2355, 3