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