Task: Program Execution
Input (English): 7329, c, 3789, 2853, 3729, D
Output (English): 17700