Task: Program Execution
Input (English): 745, 8443, 7171, 5427, 1785
Output (English): -1