Task: Program Execution
Input (English): v, 4919, F, Q, p, O, S, F, z, 8187, i, 2985, 1417, R
Output (English): 1, 3, 4, 5, 6, 7, 8, 9, 11, 14