Task: Program Execution
Input (English): 6985, 4475, 7205, 477, 3831
Output (English): -1