Task: Program Execution
Input (English): x, w, g, t, u
Output (English): -1