Task: Program Execution
Input (English): 7435, 4139, 3521, 3265, r, 3825, W, 9003, 4043, x, 2429
Output (English): 7435, 4139, 3521, 3265, 18, 3825, 23, 9003, 4043, 24, 2429