Task: Program Execution
Input (English): 5197, V, T, A, s, K, U, 4277, 5783, u
Output (English): 5197, 22, 20, 1, 19, 11, 21, 4277, 5783, 21