#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(); if(sz==1){ std::cout<