2027. Run time - 95.42% | Memory - 87%
Code\n\nclass Solution:\n    def minimumMoves(self, s: str) -> int:\n        ind, moves = 0, 0\n        n = len(s)\n        while ind < n:\n            if s[ind
# Code\n```\nclass Solution:\n    def minimumMoves(self, s: str) -> int:\n        ind, moves = 0, 0\n        n = len(s)\n        while ind < n:\n            if s[ind] == \'X\':\n                ind += 3\n                moves += 1\n            else:\n                ind += 1\n        return moves\n\n```
['String', 'Greedy', 'Python3']