Task: Program Execution
Input (English): m, l, i, u, w, d
Output (English): -1