Task: Program Execution
Input (English): e, z, c, m, w, v, h
Output (English): -1