#include #include #include using namespace std; char c[101]; int n; bool checked[101]; bool bx, bp; bool si, di; bool opened() { if(c[0] == '+' || c[0] == '-') return false; int st = 0; for(int i=0;i