Task: Program Execution
Input (English): 1709, 2549, 1735
Output (English): -1