Task: Program Execution
Input (English): P, 9999, A, 4537, 6421, 2849, V, R, 7143, 5849, 4397, x, 4929, J, 4073, O, H
Output (English): 1, 3, 7, 8, 12, 14, 16, 17