<s>[INST] Here is the problem statement:
A slippery hill can be described by a sequence of integer values ranging from 0 to 9. The difficulty level of a hill is determined by the position of its maximum value. Write a code to determine the difficulty level of a hill described by an array of integers.

Here is the code that I have written:
```
def slippery_hill(hill):
    return hill.index(max(hill))

difficult_hill = [1, 2, 3, 4, 5, 4, 3, 2, 1]
print(slippery_hill(difficult_hill))
```

However, when I run this code I get the index of the first occurrence of the maximum value. I need the index of the last occurrence.

How can I modify this code so that I can get the last occurrence of the max value?[/INST]