Task: Program Execution
Input (English): 6419, w, M, 4325
Output (English): 10744