Python Medium
python3 []\nclass Solution:\n    def getMaximumConsecutive(self, coins: List[int]) -> int:\n        coins.sort()\n        \n\n        best = 1\n\n\n        for 
```python3 []\nclass Solution:\n    def getMaximumConsecutive(self, coins: List[int]) -> int:\n        coins.sort()\n        \n\n        best = 1\n\n\n        for x in coins:\n            if x <= best:\n                best += x\n            else:\n                return best\n\n        return best\n```
['Python3']