the solution of the MinAbsSumOfTwo