#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int level=0,n,i,count=0,lev; cin>>n; char c[n]; cin>>c; for(i=0;i