The number of people that enter a contest the first day is 27. 31 people enter the second day and 35 enter on the third day. This pattern continues and the contest lasts 14 days. What is the total number of people that enter the contest?