Python simple solution better than 97%
```\nclass Solution(object):\n    def minimumMoves(self, s):\n        """\n        :type s: str\n        :rtype: int\n        """\n\t\t ans, l = 0, 0\n        w
```\nclass Solution(object):\n    def minimumMoves(self, s):\n        """\n        :type s: str\n        :rtype: int\n        """\n\t\t ans, l = 0, 0\n        while l < len(s):\n            if s[l] == \'X\':\n                l+=3\n                ans +=1\n            else:\n                l+=1\n        return ans
['Python3']