Task: Program Execution
Input (English): x, e, g
Output (English): -1