Task: Program Execution
Input (English): M, 725, T, 725, D, 9115
Output (English): 13, 725, 20, 725, 4, 9115