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