Task: Program Execution
Input (English): Q, T, F, 8333, D, 4307, 2081, s, f, I, 227, 7071, 1151, x
Output (English): 1, 2, 3, 5, 8, 9, 10, 14