Simple Python Solution
\nclass Solution:\n    def minimumMoves(self, s: str) -> int:\n        \n        moves = 0\n        x=0\n        while x<=len(s)-1:\n            #print(x)\n    
```\nclass Solution:\n    def minimumMoves(self, s: str) -> int:\n        \n        moves = 0\n        x=0\n        while x<=len(s)-1:\n            #print(x)\n            if s[x] == \'X\':\n               # print("inside")\n                moves+=1\n                x = x+2\n                \n            \n            x=x+1\n                \n        return moves\n            \n        \n```
[]