AAAAAAAAAAAAAAAAAAAAAA
Code


# Code
```python3 []
class Solution:
    def reverseDegree(self, s: str) -> int:
        res = 0
        for i, c in enumerate(s):
            res += (26 - ord(c) + ord('a')) * (i + 1)

        return res
```
['Python3']