Task: Program Execution
Input (English): L, Y, K, s, w, Q, 9771, a
Output (English): 12, 25, 11, 19, 23, 17, 9771, 1