Task: Program Execution
Input (English): v, 7577, 6523, 9939, V, 3871, w, 55, 6727, n, 6233, 9641, 8739, G, 583, J
Output (English): 1, 5, 7, 10, 14, 16