Task: Program Execution
Input (English): 3119, 1255, 1189
Output (English): -1