#include #include using namespace std; char str[3000]; int main(){ scanf("%s",str); scanf("%s",str+7); int ret=0; int cur=0; for(int i=0;i<14;i++){ if(str[i]=='o')cur++; else cur=0; ret=max(ret,cur); } printf("%d\n",ret); }