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