A certain roller coaster ride has between 29 and 150 people waiting in line to board. If riders are let on only in groups of 5 there will be 2 riders that do not get on. If the riders are let on only in groups of 6 all riders will be able to get on. Which of the following is the sum of the greatest possible number of people in the line and the least possible number of people in the line?  Pick.
A) 269 B) 184 C) 174 D) 169 E) 142
Let x be the number of people   x=5m+2   x=6n   x=30p+12   Least = 30+12= 
<gadget id="calculator">30+12</gadget>
<output>42</output>
42   Highest= 30*4+12= 
<gadget id="calculator">30*4+12</gadget>
<output>132</output>
132   Total= 174   ANSWER:174
<result>C</result>
A certain roller coaster ride has between 29 and 150 people waiting in line to board. If riders are let on only in groups of 5 there will be 2 riders that do not get on. If the riders are let on only in groups of 6 all riders will be able to get on. Which of the following is the sum of the greatest possible number of people in the line and the least possible number of people in the line?