In a certain game there are 10 steps, referred to as step 1, step 2, and so on with the final step being step 10. The steps are played one after the other. In each step a score of 1, 2, 3, 4, or 5 is obtained. Mary played the game, getting at least one score of each of 1, 2, 3, 4, and 5, and never getting the same score in consecutive steps. What is the greatest possible score that Andrea could have gotten?	Answers:  A) 25  B) 28  C) 24  D) 32  E) 30
There are two conditions:   1. Mary got at least one score of each of 1, 2, 3, 4, and 5.   2. She never got the same score in consecutive steps.   Taking that into account, the greatest possible score that Mary could have gotten is 5 + 1 + 5 + 2 + 5 + 3 + 5 + 4= 
<gadget id="calculator">5 + 1 + 5 + 2 + 5 + 3 + 5 + 4</gadget>
<output>30</output>
30.   Answer: 30
<result>E</result>
In a certain game there are 10 steps, referred to as step 1, step 2, and so on with the final step being step 10. The steps are played one after the other. In each step a score of 1, 2, 3, 4, or 5 is obtained. Mary played the game, getting at least one score of each of 1, 2, 3, 4, and 5, and never getting the same score in consecutive steps. What is the greatest possible score that Andrea could have gotten?