If the factors of a2 + b2 + 2(ab + bc + ca) are (a + b + m) and (a + b + nc), then the value of m + n is