Task: Program Execution
Input (English): 3631, 8355, 9973, 3637, 3359
Output (English): -1