Task: Program Execution
Input (English): V, 3989, Y, 7445, 9447, i, N, J, s, C, M, K, D, 6821, W, z, Q, 3707, B, H, L, V, Q, 763
Output (English): 22, 3989, 25, 7445, 9447, 9, 14, 10, 19, 3, 13, 11, 4, 6821, 23, 26, 17, 3707, 2, 8, 12, 22, 17, 763