Task: Program Execution
Input (English): 8747, 1163
Output (English): -1