Task: Program Execution
Input (English): x, q, z
Output (English): -1