Let's say I'm working with this dictionary:

```
ratings={'Shane': {'127 Hours': 5.0, 'Avatar': 4.5}, 'Jaycee': {'127 Hours': 4.8, 'Avatar': 3.5, 'Mad Max: Fury Road': 4.9}}

```

I'm trying to round all the same keys' values and output them as such:

```
ratings={'127 Hours': 4.9, 'Avatar': 4.0, 'Mad Max: Fury Road': 4.9}

```

Mad Max stays the same, as it's not in the first dictionary anywhere to get averaged with, while Avatar and 127 Hours get averaged with themselves and then combined in one key. What would be the best way to do something like this?