a sequence bracket call balanced turn valid math expression add character 1 for example sequence balance notyou give binary string s length n construct balanced bracket sequence b length n 1le ile n s_i1 a_ib_i s_i0 a_ine b_i if impossible report