simple python
```\nclass Solution:\n    def asteroidsDestroyed(self, mass: int, asteroids: List[int]) -> bool:\n        for a in sorted(asteroids):\n            if mass < a:\
```\nclass Solution:\n    def asteroidsDestroyed(self, mass: int, asteroids: List[int]) -> bool:\n        for a in sorted(asteroids):\n            if mass < a:\n                return False\n            mass+=a\n        return True
[]