Task: Program Execution
Input (English): 5033, 9401, 1867, 1283
Output (English): -1