Let f(x)=3x2−2f(x) = 3x^2-2f(x)=3x2−2 and g(f(x))=x2+x+1g(f(x)) = x^2 + x +1g(f(x))=x2+x+1. Find the sum of all possible values of g(25)g(25)g(25).