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