Task: Program Execution
Input (English): m, e, W, N, 4459, 693, 3765, 2641
Output (English): 11558