Task: Program Execution
Input (English): 9659, 343, 8399, 2473
Output (English): -1