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