Task: Program Execution
Input (English): V, 575, 8939, Z, 3191, U, h, k, l, S, 7757, l, 3311, f, 3159, s, g, J, J, 2771, F
Output (English): 1, 4, 6, 7, 8, 9, 10, 12, 14, 16, 17, 18, 19, 21