In the eight-term sequence "a, b, c, d, e, f, g, h", c represents 5, and the sum of any three consecutive terms is 30. What’s a+h?

(Spiciness: ** out of ****)