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