#include int main() { int n,i,level=0, count=0; scanf("%d", &n); char s[n]; scanf("%s", s); for(i=0;i