Task: Program Execution
Input (English): 4003, 8647, 7999, 5435
Output (English): -1