#include using lint=long long; void cmx(lint&x,lint y){if(x>n; std::vectora(42); for(lint i=14;i<28;i++){ char c;std::cin>>c; a.at(i)=c=='o'; } std::vectorb; for(lint i=0,j=1;j<42;j++){ if(j<42&&a.at(j-1)==a.at(j))continue; b.push_back(j-i); i=j; } lint sz=b.size(); lint ans=std::max(b.at(1),b.at(sz-2))+n; for(lint i=2;i