Task: Program Execution
Input (English): Q, 9507, P, R, a, O, 8333, H, j, 8213, y, G, c, e, 7807
Output (English): 1, 3, 4, 5, 6, 8, 9, 11, 12, 13, 14