Task: Program Execution
Input (English): 8723, 8125, 6269, 7635
Output (English): -1