Task: Program Execution
Input (English): d, 9857, 9257, U, R, Y, 3931
Output (English): 4, 9857, 9257, 21, 18, 25, 3931