Task: Program Execution
Input (English): 3127, 9253, 5667, 9453
Output (English): -1