Task: Program Execution
Input (English): S, y, 3991, W, A, z, V, v, 8871, 2495, M
Output (English): 19, 25, 3991, 23, 1, 26, 22, 22, 8871, 2495, 13