This is really a great question.

We have to think very logically to solve this question.

We want the maximum score, and we want at least one of each 1,2,3,4, and 5. Also, we can't have the same score in consecutive steps.

To maximize the score we have to maximize the score of 5.

The way to do that would be

Step 1 - 5

Step 2 - 4

Step 3 - 5

Step 4 - 3

Step 5 - 5

Step 6 - 2

Step 7 - 5

Step 8 - 1

In this way, each of 1,2,3,4, and 5 is used at least once and we have the maximum no of 5s.

The total score becomes = \(5 \times 4 + 4 + 3 + 2 + 1 = 30\)

OA, C
_________________

If you like my solution, do give kudos!