Task: Program Execution
Input (English): 4597, 9653, 113, 3819
Output (English): -1