Task: Program Execution
Input (English): b, o, d, w, q
Output (English): -1