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