Task: Program Execution
Input (English): M, W, 7809, 5347, E, L, 6967, m
Output (English): 20123