#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000005 #define Inf64 4000000000000000001LL string res = ""; void get(string &s,int &ci){ ci++; int cc = 0; res += "("; while(true){ if(s[ci]==')'){ ci++; if(cc==0)res += "1+1)"; else if(cc==1)res += "+1)"; else res += ")"; break; } if(cc>0)res += "+"; get(s,ci); cc++; } } int main(){ int n,k; cin>>n>>k; string s; cin>>s; int c = 0; string t = ""; vector ans; rep(i,n){ if(s[i]=='(')c++; else c--; t += s[i]; if(c<0){ cout<<"No"<