Task: Program Execution
Input (English): T, 9729, 3359, d, 9959
Output (English): 20, 9729, 3359, 4, 9959