Task: Program Execution
Input (English): 3145, e, V, H, 7911, g, E, o, 2671, 107, Q, 5173, K, a, r, 2647, 9587
Output (English): 1, 5, 9, 10, 12, 16, 17