Task: Program Execution
Input (English): 9189, 1691, 5549, 9671, 8167
Output (English): -1