In a certain game there are 7 steps, referred to as step 1, step 2, and so on with the final step being step 7. The steps are played one after the other. In each step a score of 1, 2,3 or 4 is obtained. Mary played the game, getting at least one score of each of 1, 2, 3 and 4 and never getting the same score in consecutive steps. What is the greatest possible score that Mary could have gotten?  Choose the correct choice from the following options: A) 20 B) 19 C) 17 D) 18 E) 16
There are two conditions:   1. Mary got at least one score of each of 1, 2, 3 and 4.   2. She never got the same score in consecutive steps.   Taking that into account, the greatest possible score that Angel could have gotten is  4 + 1 + 4 + 2+4+3= 
<gadget id="calculator"> 4 + 1 + 4 + 2+4+3</gadget>
<output>18</output>
18   Answer: 18.
<result>D</result>
In a certain game there are 7 steps, referred to as step 1, step 2, and so on with the final step being step 7. The steps are played one after the other. In each step a score of 1, 2,3 or 4 is obtained. Mary played the game, getting at least one score of each of 1, 2, 3 and 4 and never getting the same score in consecutive steps. What is the greatest possible score that Mary could have gotten?