If least value of f(x)=x2+bx+c be −14 and maximum value of g(x)=−x2+bx+2 occurs at 32, then c is equal to