Python3 Neat Code
Code\n\nclass Solution:\n    def minimumMoves(self, s: str) -> int:\n        ans=i=0\n        while i<len(s):\n            if s[i]==\'O\':i+=1\n            else
# Code\n```\nclass Solution:\n    def minimumMoves(self, s: str) -> int:\n        ans=i=0\n        while i<len(s):\n            if s[i]==\'O\':i+=1\n            else:\n                i+=3\n                ans+=1\n        return ans\n```
['Python3']