The mean of first three terms is 14 and mean of next two terms is 18. The mean of all the five terms is