Task: Program Execution
Input (English): q, J, u, w
Output (English): -1