using System.Collections.Generic;
public paren(string s, int x, int l, int r)
if(lct>=pcount) return false;
if(res.Length==0) return false;
if(rct>=lct) return false;
if(rct>=pcount) return false;
public static void Main()
Console.WriteLine("Hello World");
List<paren> ls = new List<paren>();
ls.Add(new paren("", np, 0, 0));
for(int j=prvend;j<n;j++)
paren p = new paren(ls[j].res, np, ls[j].lct, ls[j].rct);
paren q = new paren(ls[j].res, np, ls[j].lct, ls[j].rct);
if(p.rct==np && p.lct==np) loop = false;
if(p.lct==np && p.rct==np)
Console.WriteLine(p.res + " " + p.lct + " " + p.rct);