#include #include #include using namespace std; int main() { string c, s; cin >> c >> s; c += s; int ans = 0, hol = 0; for(int i=0; i<14; i++){ if(c[i] == 'x') hol = 0; else hol++; ans = max(ans, hol); } cout << ans << endl; return 0; }