Task: Program Execution
Input (English): 6909, 2933, 553, 773, 9517
Output (English): -1