Task: Program Execution
Input (English): N, x, v, t, S, 6269, v, T, T, 6123, 3931, 9431, B, E
Output (English): 1, 2, 3, 4, 5, 7, 8, 9, 13, 14