#include #include #include #include using namespace std; int main(){ string str,str1,str2; int cnt=0; int max=0; cin>>str1>>str2; str=str1+str2; for(int i=0;i<14;i++){ if(str[i]=='o'){ cnt+=1; } else if(cnt>0&&max