Task: Program Execution
Input (English): V, I, 6479, T, Q, R, 3951, 665, o, P, p, 793
Output (English): 1, 2, 4, 5, 6, 9, 10, 11