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