wasup guys
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution:\n    def stoneGameIX(self, stones: List[int]) -> bool:\n        def check(c):\n            if c[1] == 0:\n                return False\n            c[1] -= 1\n            turn = 1 + min(c[1], c[2]) * 2 + c[0]\n            if c[1] > c[2]:\n                turn += 1\n                c[1] -= 1\n            return turn % 2 == 1 and c[1] != c[2]\n\n        c = [0] * 3\n        for s in stones:\n            c[s % 3] += 1\n        c1 = [c[0], c[2], c[1]]\n        return check(c) or check(c1)\n\n```
['Python3']