Task: Program Execution
Input (English): 2987, 2459
Output (English): -1