Task: Program Execution
Input (English): o, f, m, w, w, y, b
Output (English): -1