Let m and n be the numbers of real roots of the quadratic equations x2-12x+[x]+31=0 and x2-5|x+2|-4=0 respectively, where [x] denotes the greatest integer ≤x. Then m2+mn+n2 is equal to __________ .
Enter Answer here