Task: Program Execution
Input (English): 9861, 9341, 3225, d, 2903, 1237, 3113, 4915, 11, 8127, V, 1199
Output (English): 9861, 9341, 3225, 2903, 1237, 3113, 4915, 11, 8127, 1199