#include #include #include #include #include #include #include #include #include #include #include #include #define vll vector #define vvv vector #define vvi vector > #define vvl vector > #define vv(a, b, c, d) vector >(a, vector(b, c)) #define vvvl(a, b, c, d) vector(a, vvl(b, vll (c, d))); #define rep(c, a, b) for(ll c=a;c> T; re(t, T){ ll n;std::cin >> n; string s;std::cin >> s; bool f = false; re(i, s.size()-2){ if(s[i]=='o'&&s[i+1]=='o'&&s[i+2]=='-') f = true; if(s[i]=='-'&&s[i+1]=='o'&&s[i+2]=='o') f = true; if(s[i]=='o'&&s[i+1]=='o'&&s[i+2]=='o') f = true; } for(int i=0;i