Task: Program Execution
Input (English): 5109, r, d, 3251, T, 9737, 4383
Output (English): 5109, 18, 4, 3251, 20, 9737, 4383