#include #include using namespace std; int main(){ int max = 0,now = 0; string a,b; cin >> a >> b; a += b; for(int i = 0;i < 14;i++){ if(a[i] == 'o'){ now++; if(max < now) max = now; }else now = 0; } cout << max << endl; }