Task: Program Execution
Input (English): C, 1849, 6855, d, H, 7065, 4941, 9131, w, 7755
Output (English): 37596