Python3 Simple Solution
Time Complexity: 94% (approximately)\nSpace Complexity: 84% (approximately)\n\n\nclass Solution:\n    def getMaximumConsecutive(self, coins: List[int]) -> int:\
**Time Complexity:** 94% (approximately)\n**Space Complexity:** 84% (approximately)\n\n```\nclass Solution:\n    def getMaximumConsecutive(self, coins: List[int]) -> int:\n        coins.sort()\n        \n        res = 1\n        \n        for coin in coins:\n            if (res >= coin):\n                res += coin\n        \n        return res\n```\n
['Python', 'Python3']