Evaluate (-3)^4+8(-3)^3+18(-3)^2+4