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