Task: Program Execution
Input (English): S, K, t, f, 7515, 9925, H, 1983, 7599, O, S, 9887, 8951, 2661, X, 4035, 309, 1193, s, Z, 4035, 6145, V
Output (English): 19, 11, 20, 6, 7515, 9925, 8, 1983, 7599, 15, 19, 9887, 8951, 2661, 24, 4035, 309, 1193, 19, 26, 4035, 6145, 22