python clean and short solution
```\nclass Solution:\n    def stoneGameIX(self, stones: List[int]) -> bool:\n        stones = [v % 3 for v in stones]\n        \n        d = defaultdict(int)\n 
```\nclass Solution:\n    def stoneGameIX(self, stones: List[int]) -> bool:\n        stones = [v % 3 for v in stones]\n        \n        d = defaultdict(int)\n        for v in stones:\n            d[v] += 1\n        \n        while d[1] >= 2 and d[2] >= 2:\n            d[2] -= 1\n            d[1] -= 1\n        \n        if d[0] % 2 == 0: # number of 0s will not influent the result\n            if (d[1] == 1 and d[2] >= 1) or (d[2] == 1 and d[1] >= 1):\n                return True\n        else:\n            if (d[1] == 0 and d[2] >= 3) or (d[2] == 0 and d[1] >= 3):\n                return True\n            if (d[1] == 1 and d[2] >= 4) or (d[2] == 1 and d[1] >= 4):\n                return True\n\n        return False\n````\t\t
['Python3']