```
from sympy.utilities.iterables import group
elements, multiplicities = [list(i) for i in group(multiset, multiple=False)]
```