#include using namespace std; using Int=long long; using Real=long double; templateinline bool chmin(T&A,S B){if(A>B){A=B;return true;}else{return false;}} templateinline bool chmax(T&A,S B){if(A>S>>T; S+=T; for(int i=0;i<14;) { int j=i; while(j<14&&S[i]==S[j])++j; if(S[i]=='o')chmax(ans,j-i); i=j; } cout<>TE; while(TE--)sol(); }