EASY SOLUTION! HAPPY NEW YEAR!

```python3 []
class Solution:
    def minimumRightShifts(self, nums: list[int]) -> int:
        total = 0
        while True:
            if nums == sorted(nums):
                return total
            if total >= len(nums):
                return -1
            nums = nums[-1:] + nums[:-1]
            total += 1
            
```
['Python3']