Task: Program Execution
Input (English): 6511, 2319, 283, 5799, 6351, 1233, 653, 2727
Output (English): -1