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