Task: Program Execution
Input (English): 3267, C, w, 6881, 8239
Output (English): 18387