Task: Program Execution
Input (English): 2349, 5081, 3225, 1593
Output (English): -1