Task: Program Execution
Input (English): N, F, c, 3031, 8727, 3215, W, V, E, x, I, 7089, 2507, 3367, q
Output (English): 1, 2, 3, 7, 8, 9, 10, 11, 15