#include using namespace std; const int maxn=1<<17; int n,brc[maxn],bro[maxn],brh,brs; string s,ans; void read() { fstream mf; mf.open("smile.in"); mf>>n; mf>>s; } void precompute() { for(int i=n-1;i>=0;i--) { if(s[i]=='(') { bro[i]=bro[i+1]+1; } else bro[i]=bro[i+1]; if(s[i]==')') { brc[i]=brc[i+1]+1; } else brc[i]=brc[i+1]; } } void solve() { precompute(); for(int i=0;ibrs) { mfmf<<"positive"<brh) { mfmf<<"negative"<