Task: Program Execution
Input (English): x, 839, G, 2989, D, 7203, 3287, d, 7419, 9401, 5411
Output (English): 2, 4, 6, 7, 9, 10, 11