Task: Program Execution
Input (English): 8769, 1951
Output (English): -1