QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#395095#2497. Mirror Bracketsucup-team1716#AC ✓17ms8032kbC++143.0kb2024-04-21 04:01:342024-04-21 04:01:35

Judging History

你现在查看的是最新测评结果

  • [2024-04-21 04:01:35]
  • 评测
  • 测评结果:AC
  • 用时:17ms
  • 内存:8032kb
  • [2024-04-21 04:01:34]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

const int MAXN = 1e5;

int n;
char s[MAXN + 5];

int sta[MAXN + 5], top;
int rpair[MAXN + 5];

bool isl(char c) { // is letter
	return c >= 'a' && c <= 'z';
}
char ver(char c) {
	if (c == 'q') {
		return 'p';
	} else if (c == 'p') {
		return 'q';
	} else if (c == 'b') {
		return 'd';
	} else if (c == 'd') {
		return 'b';
	} else {
		assert(c == 'x' || c == 'o');
		return c;
	}
}
char hor(char c) {
	if (c == 'q') {
		return 'd';
	} else if (c == 'p') {
		return 'b';
	} else if (c == 'b') {
		return 'p';
	} else if (c == 'd') {
		return 'q';
	} else {
		assert(c == 'x' || c == 'o');
		return c;
	}
}

struct Element {
	int l, r;
	bool rev, v, h;
	char c;
	Element(char _c) {
		l = r = -1;
		rev = v = h = 0;
		c = _c;
	}
	Element(int _l, int _r, int _op) {
		l = _l;
		r = _r;
		if (_op == 1) {
			rev = 1;
			v = 1;
			h = 0;
		} else {
			rev = 0;
			v = 0;
			h = 1;
		}
		c = 0;
	}
};
// either "a character" or "the result of a substring after all operations"

map<pair<int, int>, vector<Element> > res;

void solve(int l, int r) {
	// cout << "solve " << l << " " << r << endl;
	
	assert(l <= r);
	
	vector<Element> vec;
	
	for (int i = l; i <= r; ++i) {
		if (isl(s[i])) {
			vec.push_back(s[i]);
		} else if (s[i] == '(') {
			if (rpair[i] == i + 1) {
				++i;
				continue;
			}
			solve(i + 1, rpair[i] - 1);
			vec.push_back(Element(i + 1, rpair[i] - 1, 1));
			i = rpair[i];
		} else if (s[i] == '[') {
			if (rpair[i] == i + 1) {
				++i;
				continue;
			}
			solve(i + 1, rpair[i] - 1);
			vec.push_back(Element(i + 1, rpair[i] - 1, 2));
			i = rpair[i];
		} else {
			assert(false);
		}
	}
	
	res[make_pair(l, r)] = vec;
}

void decode(int l, int r, bool rev, bool v, bool h) {
	// cout << "decode " << l << " " << r;
	
	assert(res.count(make_pair(l, r)) != 0);
	vector<Element> vec = res[make_pair(l, r)];
	
	// cout << ", vec.size " << (int)vec.size() << endl;
	
	if (!rev) {
		for (int i = 0; i < (int)vec.size(); ++i) {
			if (vec[i].l == -1) {
				char c = vec[i].c;
				if (v) {
					c = ver(c);
				}
				if (h) {
					c = hor(c);
				}
				
				cout << c;
			} else {
				decode(vec[i].l, vec[i].r, rev ^ vec[i].rev, v ^ vec[i].v, h ^ vec[i].h);
			}
		}
	} else {
		for (int i = (int)vec.size() - 1; i >= 0; --i) {
			if (vec[i].l == -1) {
				char c = vec[i].c;
				if (v) {
					c = ver(c);
				}
				if (h) {
					c = hor(c);
				}
				
				cout << c;
			} else {
				decode(vec[i].l, vec[i].r, rev ^ vec[i].rev, v ^ vec[i].v, h ^ vec[i].h);
			}
		}
	}
}

int main() {
	cin >> (s + 1);
	n = strlen(s + 1);
	
	for (int i = 1; i <= n; ++i) {
		if (s[i] == '(' || s[i] == '[') {
			sta[++top] = i;
		} else if (s[i] == ')') {
			assert(s[sta[top]] == '(');
			rpair[sta[top]] = i;
			--top;
		} else if (s[i] == ']') {
			assert(s[sta[top]] == '[');
			rpair[sta[top]] = i;
			--top;
		}
	}
	
	solve(1, n);
	
	decode(1, n, 0, 0, 0);
	cout << endl;
	
	return 0;
}

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3796kb

input:

(qbpoxd)[qbpoxd]

output:

bxoqdpdpboxq

result:

ok single line: 'bxoqdpdpboxq'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

d[xd(bx)op]q()[]xx

output:

dxqxqobqxx

result:

ok single line: 'dxqxqobqxx'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

([(([[([[[pxxdddxpqoxbxxpxqxqddddqoqdxdx]]])]]))])

output:

pxxdddxpqoxbxxpxqxqddddqoqdxdx

result:

ok single line: 'pxxdddxpqoxbxxpxqxqddddqoqdxdx'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

[[dpb]][([[([([[[]([([[[]]])])]])])]])]((qqboxbq))

output:

dpbqqboxbq

result:

ok single line: 'dpbqqboxbq'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

[[[[(([[[(((())))]]]([[[(x)]]])))]][[[[([p])]]]]]]

output:

xd

result:

ok single line: 'xd'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

[(([(([[dxbdqbbdodbd]])[([(([(((([]))))]))])])]))]

output:

dxbdqbbdodbd

result:

ok single line: 'dxbdqbbdodbd'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3828kb

input:

[(([((([[[bpq]]])[[((([((b)[[xp]]o)])[x]))]]))]))]

output:

bdqqxbox

result:

ok single line: 'bdqqxbox'

Test #8:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

([pobdqxoboxpqxdbbbqbxppddddbqbpqdpodpdqbdbqxqodpqoqqbpdbp])

output:

dqpdqbbobdpobxbqpqbpdpodpbdqbqppppddxqbqqqpxbdxoqoxbpqod

result:

ok single line: 'dqpdqbbobdpobxbqpqbpdpodpbdqbqppppddxqbqqqpxbdxoqoxbpqod'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3600kb

input:

(([[((((([qbdppqbooxbdpqddxpq](((([[()]([[]])o])))))))))]]))

output:

obdxppbdpqxooqbddpqb

result:

ok single line: 'obdxppbdpqxooqbddpqb'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

[(((([([[[xboqqoxxpqxqqpdxqdqpxbqobbbxpdboxxbbdobqbxxdboppxd]]])]))))]

output:

pxddoqpxxqbqopqqxxoqpdxqqqobqxdbpbxpdbbxbdxxobboqx

result:

ok single line: 'pxddoqpxxqbqopqqxxoqpdxqqqobqxdbpbxpdbbxbdxxobboqx'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

(([([[[((([[((((([(oxp(([([([[[[qpppoqxbd]]]])])])))])))))]])))]]])]))

output:

oxbdbbbodxpq

result:

ok single line: 'oxbdbbbodxpq'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

[[([((qqqxdxdxppbdoqpxqobqoxoboqqxpqopop)[[[oqqpxq]]popbopxqxqob])])]]

output:

dodobdxbboqoxobqobxdbopqddxpxpxbbboqqpxqpopbopxqxqob

result:

ok single line: 'dodobdxbboqoxobqobxdbopqddxpxpxbbboqqpxqpopbopxqxqob'

Test #13:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

[[[[(ddooo)[qpbxpqobbxqbxxpppxpobdpbxoqddpopoopdxoqbpxbqboboqqoob]]]]]

output:

ooobbdbpxbdoppxdpxxbbbxbopqbpxodqqboboobqxodpbxpdpopoddoop

result:

ok single line: 'ooobbdbpxbdoppxdpxxbbbxbopqbpxodqqboboobqxodpbxpdpopoddoop'

Test #14:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

dbxqpqqbpdxppqqxqopqxpoddboddxdpqxoqxxxxqobqxpbxxxdoxboooboopqoxxxbddo

output:

dbxqpqqbpdxppqqxqopqxpoddboddxdpqxoqxxxxqobqxpbxxxdoxboooboopqoxxxbddo

result:

ok single line: 'dbxqpqqbpdxppqqxqopqxpoddboddx...xqobqxpbxxxdoxboooboopqoxxxbddo'

Test #15:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

[([qqdopoppqbpbqqqxdpoqoxxdxxoqobqoxqdo](((b))))]([[([[([(([[([[oddd]])]]))(([[[d]]q]))])](o)][])]])

output:

pobpxopdopoxxbxxopoqbxpppdqdpqqoqobpppboqqqo

result:

ok single line: 'pobpxopdopoxxbxxopoqbxpppdqdpqqoqobpppboqqqo'

Test #16:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

[([[((([([[[oqodpqbpppdxqdxbopppdq]]]((oobd))[([[([(([(([[[]((o))][(([]))][(q)]]))]))])]])])])))]])]

output:

dobdoobpdddoqxpbxpdddqbdpobo

result:

ok single line: 'dobdoobpdddoqxpbxpdddqbdpobo'

Test #17:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

[[[([[(((([[[[([([qbooxoxdoobqxbbpooqb])])[[[[([([])])]()]]]]][[[d(bd)]]]([()[(([b]))]])]]))))]])]]]

output:

bbdbqboodqqxbqoopxoxooqb

result:

ok single line: 'bbdbqboodqqxbqoopxoxooqb'

Test #18:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

[[([([[[[(b)]]]])[[]]])]]((([((((([qbd])))((p)))[[xdbpbbqobxqdxxbqpbpqpqdpbddxxdpbpbddbxpxqxo]])])))

output:

qdqbdxqpbppdopxdqxxpdbpbdbdqbpqqxxqbpbpqqpxbxdxo

result:

ok single line: 'qdqbdxqpbppdopxdqxxpdbpbdbdqbpqqxxqbpbpqqpxbxdxo'

Test #19:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

[(([[(o)]])[[[[bqpppqqbpqddxpbpqoo][((((([x]))b)([[[[]]]])))](ppdobxqd)]](qqxbbpqxqoqopbqqqpqpod)])]

output:

qqxbbpqxqoqopbqqqpqpodppdobxqdxpoobdqdxppbdqbbdddbqo

result:

ok single line: 'qqxbbpqxqoqopbqqqpqpodppdobxqdxpoobdqdxppbdqbbdddbqo'

Test #20:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

([([(([([(([(qd)]))])])[[(x)]]((q[[p]]))[xqqxbpbxoppx])])])[[((q))([((([([((pbpqx))])][p](dx))))])]]

output:

xddoxqdqxbbxqpxdqqxbdqdpxp

result:

ok single line: 'xddoxqdqxbbxqpxdqqxbdqdpxp'

Test #21:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

[([([(((([((d[[[((([[][[((pq)[(([b]((pxbdqbbb))))])]]])))]]]))])))([(([][d[[]]])[(q)(([b]))([[]])](([px])))]))])])((([(([[()]]))])())([[(((([[qxbdopxxoxddqoqbdb]([[[[([[[[([])]]]])][(((([[(([[b]]))]]))))]]]])]))))]]))((((([((([([([[[[[([[([[[([((([(((([([])]))))])))])([][[(obxdbdpoqbxqxqpxqxxdbobqd)...

output:

xdddqdpqbbxpqdpppdxpqobxxoxqqdodpqpdoxdppdbobxdbdpoqbxqxqpxqxxdbobqdbbpboqdxqqqodbpdqqooqbdbodoodbbbqqbopbbxqdqxxxboooboqxxbqobxxdboopxpdxbdqpoxxbqbqdxboxxbpbxbboodbdqodbqqdbqbooddpbodpdbpodbpbdpopoddxqdqbxbpobxxbpqbxdoxdobodbpbqpxxdpbqodpxdoqoodpdppdooqqxqxppoqobxqdxbdxdqxbpobdbpqoxdpdxdodxbopqpbpq...

result:

ok single line: 'xdddqdpqbbxpqdpppdxpqobxxoxqqd...opbbbqxdqxbpxqqpppbbqbqbqxdpdxp'

Test #22:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

[[(((([(([[[(((([[[((([(([[[((([(((([([(((([xq]))[(b)]o))])])))([[(([[q]]))]]))])))]]])([[[[dpbobxobdbodob]]]][[[[[[[od]]]]([(((poq)))](([(o)])))]]](()))[[([[(([(qdop)]))]]o)]])])[([[[((((((([[[dddpbqxqp]]]))))[[([([()])])]])))]][[(d)]]][xxbq])]))(qqq([(())]))]]])))(((o))pbbbxxbpdddqbodbpxqq[[(bqodq...

output:

boqxqbobpobdxddodqpxxqbooxdxpdbqbopbbbxxbpdddqbodbpxqqxbxbbxoodbpbxqbdqpdbopqoodpqdddoopqpopopqbbpbqpopdododbpbdbddxboodobbpppqobdpdpdpdqqddbbpodpooqdooqbqpoppoxdqoxbpdbddoqpooxqbooxpoxbxdqbbopdbpdqoxpbpxqbxqxooqbppoopdxdpoxpppxbxxdqxoxoxpdbpqdpbxddxpbbddqppqqdxdxdddobdxxboppopbopdxxpbdoqqxoxobxodxo...

result:

ok single line: 'boqxqbobpobdxddodqpxxqbooxdxpd...qpdqxxxxbddppdppqpobopobdodbbbo'

Test #23:

score: 0
Accepted
time: 1ms
memory: 3952kb

input:

[([(((()[[[[[[dpdbpppbbddpbqpxoqxppdpbqdddbdqxxbpoxbxqxbxddxdbqooqpdpdopxdxpdppobdpqqpbxqoqdbpdboxdxqppoopqbbpqxopxopqdboddoqxqqoqpd]]]]]]([([[(([[[(((([xbdboxqdpoxobdpppbodbqqqxpqxbpdpxxpbxxodpdqoopqdxbdbdxppxbdxxdxpqxpxodopbbppxoboobqpobp]))))[[[(([[(((([([(ob[(qqdxpo)])(([]((()))))([p])(((((q[([d...

output:

dpdbpppbbddpbqpxoqxppdpbqdddbdqxxbpoxbxqxbxddxdbqooqpdpdopxdxpdppobdpqqpbxqoqdbpdboxdxqppoopqbbpqxopxopqdboddoqxqqoqpddxpoxqqodobxxbxpqxdpdppxbpxdqqpbdxdddbpbpbdqpddpdoopdxdbdqooxdqdooddxxqbbqxqbopdqdpxddodboxdqppqooxddqoboxdbdqxbxbqqqxbqbxopopobxbxdbqdqbpxooooxdopbpqpqqxxbxpbqdpbqbxpqpoxdqboxopqbbb...

result:

ok single line: 'dpdbpppbbddpbqpxoqxppdpbqdddbd...oopbbqbqqoqqoqqqobpbpdoboboddpo'

Test #24:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

(([((([(([[[([(([(([((([[(d)(([o(pdo)[((p))]]))]([(([([[([[(([[[([[((([(([(((([((dqp))]))))]([[q]])p))])))][(([[[([([(([([([])[[([(([](([([[[o([xqpdp])]]])]))))]())]]])]))])])]]])(([([[[x][[([([(q)][p])])]]]](b))]))[xd])][[[[(([[qdpboddqbdqp]]))][[(([(([[([xbqoxpod])]]qxob))])[((p))x])]]]]]])]]]))]]...

output:

bxxxdbxxxqodbopqopqdpoxoqbqxbdbxdoxoodbobbqqpbpxpqbxbqqbxxobdxqqodopopdpbdpbdpxxpobqooppdqdopdbxqdddpdxbopbqxoxbpbpxpbqbbppxpbxxoddopqddpoqppoqdqoxpqdpqdoqopdxqpdobpdxdpxpqoxddbpppxxdopbdpqbxxopbbbpbqdpobpqqxbqxqopqxdqqppxoxdpopqxqdqbdpodxdxpqqxbooxdxodpqpqbqdbbpdooodbbpqpppxpoqqqdodqddpqooxdxddxxqb...

result:

ok single line: 'bxxxdbxxxqodbopqopqdpoxoqbqxbd...xxqqdbbbdqpddpobdoqpbbbpdqbqood'

Test #25:

score: 0
Accepted
time: 1ms
memory: 3612kb

input:

[((([(([[(([([([[[[(([(([[pddqoqoxddpdxxpb]((((([(())([[((([[[(([(((([(([[xoxpbb]]))])))[([(xqx)]([pbqo]))])[d]qd]))]q]])))]])]((([[[([[p]])]]]))))))))[([bx])][[[[[((((([((([([([])])])))])))d))]]]]]o]([((pxpbdqppx))])))])(((([[(oxbodpdoddddoxpqoxpbobbqdbxqoppoqpoqxxdpdd)((o(([]))))]][[(([([[[[[[xp]]...

output:

dxxbbdxqoqdbpbpdbqobdxbodbbbxpqopxoqqbqdpdpdbpdobbpppoqbpdpdqdbbdbxxoqbboxpqoxppxpoxpodbqpxopqobqboopxpbdqppxopbxxbxobqdxoxpbbddqdbqdxxpdppxobobppdbbqbxxpoqpoqqopxdbpddodqxopqxobbbbobqbodxoodpddpqxxqbobxxobxbpxpdqodxbqxqdqqbqbxqxqqddqdbbxddbppxdbxbbpdbqpxqodopxdbxpbdqoxbpxxpqdxpdbooxddxxqpxxqxbqqdpq...

result:

ok single line: 'dxxbbdxqoqdbpbpdbqobdxbodbbbxp...qqobdxboqdqpodobdxxboodoxdpdxox'

Test #26:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

[(((([bo]))[((([(([[[(([oqbb]))]]]))])))](([((o)doxbbqpoqdxbxqodoxoddbxxqqqoobdqdboqoxobbdbxxxbqopdoxxdoooxpxxoxbpqqxqqopdopdoqqbpqodpddoxqpododdqxdpbddbobqpxopxoqqxqpqqpbbobxqxdpdodppbdoqqppoooxooqdoqodqxppqdqxxqqbxbdbdodqoqbddbbodddooppbdqqodqpdxoooxopobdpdb)])([[[[([(([((([([[([[(()(dbbqqppobpxpq...

output:

qdxdobopppqodxbodobpqxxqbqqdoxxoboqqbopxopxopppbodxdodopdxpddxdxobqpppoqpxbqqqdqxqoxqqxoppxddqdxqpoppbxboppdxdqoxxdppdpboqoqqqxpxdxqqbdpqodqpxodobxqpqxdbxxdbopxdoqxpbxpppqodxxxbxooqxbbppbboxbopppddqdxxbxoqooxdxbxopbpdppoobqooqqpbdqxqbxqxqbxbxbpoxbpdqppqpbpxxxxxqbdqpddpxxpppxpppqqoqdpxbqqdpopbbdboqoq...

result:

ok single line: 'qdxdobopppqodxbodobpqxxqbqqdox...qqooxdpxxxpqpxoopbppxxxxqxodbxq'

Test #27:

score: 0
Accepted
time: 1ms
memory: 3948kb

input:

((([[[[[([(((([[[[((x[([((([oxp]))())])](((([x]))d))(([(d)]((([x][])))))))(([[[[poppxpbbbppbpxpqboxppodxddoqodqbbpdxxxqddooodqbbxpdxxxopqbboxoxobdqpodbppbqqxbobodddbqdppbdbqqqxdobbdddbxxbqbdbpqxpdqxo]]]])[(([(((((()(x))))))([[[[(((([([([(((([[[([([b])][((([[([([([(bbqb)])][[[([(dpod)])]()]][])]dpqd)...

output:

dbppbqoxxboppopddopqxooxpqdbbodxqqooqxdoxdxppqbqdpbxdopqoxdqdpdqoxbqxqdbbbdpqpddqobqopbddxqodqqbopxbbdoxpddooqqqqboobpbodbxooxoxbxdpxpbdpbbqbdpodbxpdxqbpxpxpxooppodqxbddoddbopoppxpbbbppbpxpqboxppodxddoqodqbbpdxxxqddooodqbbxpdxxxopqbboxoxobdqpodbppbqqxbobodddbqdppbdbqqqxdobbdddbxxbqbdbpqxpdqxoqodqpoo...

result:

ok single line: 'dbppbqoxxboppopddopqxooxpqdbbo...dqopbqopopdbbdbodqxpbxpxdpqbdoo'

Test #28:

score: 0
Accepted
time: 1ms
memory: 3732kb

input:

([[((((((([([[[[[((xo))([][[]]x)]][[[(([o[[[]([[]])]][[([[b([xbd]x)(p)[(([oqp]))([qxqxbodpopqobdxdodxdxxbqdqxoddp])]]])[bdqqxpbxoopqbpdxqbbxobpoddpxpddddoqxppxxbpxoxqdxbxpppqxqxobpoopqobpxbdpdbqoobqxpqbxdpxdxbpqbqq]]][([[([[(([[[[[(((dqqxqxbq(p)xopb)))]]]]]))]])]])]]))]]]]]]([x[(b)](xx)[([pqp]d)]]))...

output:

qpqqxppobqdpoqodqqxqodxddpqdbpxbpqbppdobdxoqqdddbpdoxobbqddoobdddpqbxoddpxbxpxqpbxxqoxdpppobbddqoxpppxdpqpopdobbbxooooxppopxddooqqdxxxdxbqdbxxxqopdoqoxododxdxobqqpbbpqbpddpqxpbdoqxxqxxpqpqdqqxqxbqqxopbbbqbdqxpxdpxqbdxbqoobqpdpqxdqobdoodqoxbxbdddxqxpbxoxdqxxddxboppppdxdppodqoxqqbxpdqbdooxqdxbbpqbxpqx...

result:

ok single line: 'qpqqxppobqdpoqodqqxqodxddpqdbp...bbdxpqoqpppqqxpbqxxpdxodxdddbqd'

Test #29:

score: 0
Accepted
time: 1ms
memory: 3692kb

input:

(([[[[[oo](([d])([[[[([[[[(((((()(x))))ddbqpoqxbobxxopddppqdoxoobpxd(([[(([x]))b]]))db))]]]])]]]]))[[((oxq)[[[[([(())])]][[bxxq]]]])]][p[[[]]]]](((((qddqbxpbpdpooqbbxoqobopxbdxbobpbxbdqqqdbboqxbqbxqpbqpxdopxxbobdobbpqqxdxpxxpdxoqxddxqxqxppxbppxxooxpqxbxxqpbdodpqqxpxbqopdpbpoodqboododqppdqoppbpooqqxp...

output:

dxpopbqqxxbxbppxxqppoqxbbdxxbboppxoxxxoqoxxqxxxqqodxpxddbopqqopqqpdqxoodpoqdodbqbqxpdxxdodbbbqqpdopdqoxbxpxqxbdddoppbpddbodbbdppxxxddqxoobboqdddboodbdxbxqdooxobpqqbbqoxxdodxpoqpdbbxqpxxdoxqbdxbboodqddobpddbpopooqbpoodqdpdobqxdxbbdpopqdbxxqxbdxooxxddqxddxbxbxppxboxpdxxdxpxbbdqqopqoqxxdopxdbqdbxqbqxbo...

result:

ok single line: 'dxpopbqqxxbxbppxxqppoqxbbdxxbb...bxboqoxqdpxppboqpbqxqpopoxxbddq'

Test #30:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

([[[[(o)[d][xqbqpodqbb([((p))])[]]][[[((([o(bdqqpq)x((([((((dobx(d)))))])))([[]])])))[[[[b]]]]xdobxoxxqdboppbdqbobopo][([(doqoqxdoxbxxdbxbxddbdobbdppxdbqdopo)])[[([()])]][x]]]](((([[([[[[[xbxqbqooxodbxddbq]([([(b)(qpqdbqpqxdb)[]])])[[([[[]([[]])]q])[b]]][[([o])]]]][[[[((((p[([[[[[[([[([([([])])](bo)...

output:

obxxxpddqooqqoqddqqoqdbpqxpbpdqodpbbopobqbxdoxxpdopddqqppdqobqbopbpbpdpbpdpxxxqbdxqoqdqpbopoobdpxbxpbdppbxbpoqoddxpqxxdoddxdbooqbpppxobbdpqqpqpoobqoxqdxqodddqqqodoqxpqdpppdxpbddxbxpdoqdooobdxqpdpbqdopqqdpxqdpobqopodxoodqpdoboqddxxxbxqbqooxodbxddbqqqpxbdbqpbdbpbobqddpxdqpxdqxboxxqoqobpxpddqppqddodoqo...

result:

ok single line: 'obxxxpddqooqqoqddqqoqdbpqxpbpd...dobxdobdbbpqxdxdobpqqbpodbqbxpo'

Test #31:

score: 0
Accepted
time: 0ms
memory: 3660kb

input:

((([[[([[[b](((())[p]))p[d][qd]]])]]](b))([[([(([([(q)](([[[([oq[()[ddd]()[ppd]dpp][[bodpbxpobpdboopx]](((([bobxdbdbqbopqodqdooqoppdpxqxxdxdpqdpoqbpxqbqbpoq]))))]([[q]](pxod(x)))[[[]][([[]])dx]])(([(([d]))]))]]([[([[(([((bx)bod)])pddq[[(xdp)]]x)]])(q)[[([b])[](qdx)(())[][o]]]][()]])])[([([((([[[[p]]...

output:

bbpbdqdpoxqqxdoboxqbopxdqodpoqbqodoxxooxpqopqdxoopdobboqdddxpodpdoqodxoqoqdxqxboqbqxpdodxxqoqbxqbbbdpqqpxqpbdqpbpqpxdxppxbodqqdppbpxbqobxxbxpbdbxobdbppoboobqxqdboxpqboqqobqobdppqdbpbqbdxxpqqqddoqqxoqbobxxoxpppooqpxqpxqqpbqxdopdbxboqbbbpbxdpooboqxqobbqppppooopqddbqpqopdobbpxbxxbqxoxppdbxdpqqbpodopbqd...

result:

ok single line: 'bbpbdqdpoxqqxdoboxqbopxdqodpoq...bxqobdoxppqxpxqxpxdxpoxxqxqoqbq'

Test #32:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

([([[((oxbqpqxoodoxopoxxbqbxpdpdpdxooqqqqxddoqdbbbdqxdoqxbbdodobqoopbqpdpxoqoppppqpdpobddpdpqpqpqpdddxxqxbqoopxbqqdpbdbodxpdxoodobxbdqpdobbpbobqpqoxqddqpoddqbpbpdbdddxdxddodpbpxqoqddodoqoqbbpooooppbpdpqbdpobqqqxbpqdbqxqxbxdqxpbqpodpxqxddoqppbqopxdxbppdpqobxodbpdbobxoboooqopbdppodobxbbxdxddddpobbxdpb...

output:

bdoddooqxxqdopxqbdbddobxxdoqdboodqoqbxpbqxdxbpbxqqppbxdqoobodxqppooppbpdpxbppqbxopxqobdxppbxobdqxoxbqopbqxxoppppoxdbdopopdopxxoqbbqqppooxpxbbbxqdpdxqdoxbqbddppdpqxpxopbqopooxqpqoddooqxbxxopxpbpqodqqqqpqobqdxqpqxqdxxqqpodbppdpbpxopqxopqbdbddqpxxxxooqdxqbqodbbqdpxxqoqoddoopbxpxboqqdxdbxbdobqodqdbpopoq...

result:

ok single line: 'bdoddooqxxqdopxqbdbddobxxdoqdb...boqbxdoxdoqppdbxoxoppodoxbqxodx'

Test #33:

score: 0
Accepted
time: 0ms
memory: 3988kb

input:

((([((pdxd((dpoxbxbdxxbxxoqbbp))((xqbdppoodpdxbpodop))))[([[([o])]][[[([pxp](o))][[pbbpb[p[b(p(qb))][xpqqobx]]([(pqop)pxboqdqqqbdp])]]]])([(q)dd[opob[(qdqpb)]([(p)])]])oxxdqxxoddd[(xdb)]([[[dqx]d]])((dqoxbq))qdo][ooxbddqoqxpoobxxp(([qpbp[pp]])[(qop[(b)[px]])])]][[([[([(([[xxqqbpx]])oxbd[dx[ppqbpqqbo...

output:

xdxpobxqddpxxdqqoddoxbdobpdxbqbdoqpoxxxqxqdpoxdxqxpdbpxxxdqqooobqqbqxpddqopxdooddopxqpoobqxqxdqddbqpdbxpqqbpqdppboodbdoxpxboppppoxqqbqqodpdpdbqqqbdxxbobpdopxqooxdxbdqppdqdboboxbdoqbbdobodpppopxpobdopqdqodqxpqobpddpxbqbbpdxpbpdodpdbxbodqpqpqpbdbopxpxdqbbxxoxpqdxbbdpbddpobdoqbdxpdqboxbqqqxxqqdqdbxdbdo...

result:

ok single line: 'xdxpobxqddpxxdqqoddoxbdobpdxbq...bqxodoqdqqqqoxqqdqbbdxbqbdxxpqb'

Test #34:

score: 0
Accepted
time: 1ms
memory: 3804kb

input:

([[[opdobpxxoopopo]][([qodo]xo)](qxdpxoqobbxdxbdbqobdoqbddoxb)bxdqddx(oodo)((dxbx)(((bd)))[[[(pxbp)]]])([[dp]]ddqqbxdooqod(((oddpdx(qoqp))))ddbq[qpdxpbqdqxdpxobobbqbpbbbqbdoboqodbxxpqxopodbxpoobobpqodboxxdxxdobqbqdd]bqobdpqpbqx)((bpqxxpbbddpodppopdqdpxodooppxxpqdddpobbxxxbxqdooodxxppqqqbooppqodpbxdb...

output:

bbppdxobxxopdqbpodxpdpxpqoqqbpbbbdbqxpqqpodqppxpxqpbxbbqqbbdqbbdppxddxooodqpoxbbqbdpqbxpdbbbdodpxqxxbpooxpoddbopdxqpbpobxqoxxxqdpxpbdddxobbdqxqxoqxbooodoqoxqxqdqxbpdbppbbpbqxbbqpppbqpqbbqxbpppbqxbbpoqoxdqpbpoqqopboobdpdxxobxbdqbdbxqdpopxpoxxobdxddpxpqdxqxpoxpppdxqqpxpdpdobdqdqoopddbpoqxqdxxbqobxdbxq...

result:

ok single line: 'bbppdxobxxopdqbpodxpdpxpqoqqbp...opqodpqqoxpdoqoxoododooxxdqopdo'

Test #35:

score: 0
Accepted
time: 6ms
memory: 5212kb

input:

[(([(([[[dqqdd[[[([pbqxpdo([[[[(op)]]]][(q)(qpxo)])(([[(bqbbqx(x))]](([d(bxb)]))))o([qo])q])]]]][(oodxoobdoqdbxdbxbxpd)[b]([[pbppobbp(bdbxp[qop])]])xx]]]((xx([[[(pd)d](([oq]))[ppx]]])(oxdqdbpxqxq(xdqbopdoox))(oxxppobb[[xpxq]]xqxdqpdoqoxqdxobpdqqodoooxoobxdbdbbqodbooopboxddopqdxoqxxxxqppopdopx)(pqx))...

output:

qddqqbqoobxbbpdppdxxdopoxqpopdxbqdpdxqxqpxqpbopqooxpoobpqpxbqopdqqoddqdxxxxxddbopbqxdqbopdooxpxpxqdbpbxoxqobqoqqpxxxxpoxbpqobbxodqooodbopddbdbxdooxoooboppbqdoxbpxopobqpbxpxpxqxddoqqxxoxpqxbbqodqxxqoxddqbpdpbdbbxxdoppqqbpopxoqpbxbdpdxqxpqqopqbqxdoddqbobobxpqbdqboboodoopoqdbpbqodpxqxdopqpqqdqqqbddodqd...

result:

ok single line: 'qddqqbqoobxbbpdppdxxdopoxqpopd...obdpqdqqdbpqdqpdoqdbpodbdqdpqqx'

Test #36:

score: 0
Accepted
time: 6ms
memory: 5232kb

input:

[([[[([[((([[(((([((([(odxqbqdqo)]bo)))[(xx)]])([[p]])pb([((x)bb)(bopodoq)(oooobxpbxobdpxx)bbb([[q]])]opoddppoxqxdoqddqppqoddbqxbbbodqdbbpqxbqqb)oqpdqpdxqoox((dbbd)qqbdppbopoxpppod[xpdoboooqbbd])(([[[((([(doooqxodppo)([(d)bqqq]bp)((qp))])))]]]([qbx])[(xpb[[[dq]]][o]([pxp]((q[d[(x)]])[p]opq))(([qq]))...

output:

xxopbpdpxbopoqpbdppdxpqddbpbodddxpdbbopqqpbbpobxpxoqqbboqodqqqoooopxbpxopqbxxpoboqodxppoqpdqpdxqooxpqqboooqopdxboqqqxoqodqqbdppdbbdqpppdddbpdoooqxodppoxqbqpdpqdbpqqqxpdoqoxddpbdpoxpqodqpxooobxobbppppxpbdoqddxopbqdxppqdbpbpbbqqqdpppboooppxopqdboqodbqoxpxdxoobxxpbpdxpbbpbqxxbqqqddpbbdpqpoopqxxxoboxbbo...

result:

ok single line: 'xxopbpdpxbopoqpbdppdxpqddbpbod...bdqbooodbdxbpdpbbpqqqododdbdqdd'

Test #37:

score: 0
Accepted
time: 12ms
memory: 6976kb

input:

[[[((([[[[[(([[obd[boob]dbbdqboqxpbdqdd[((([([dppqp])od(dd)bo])))]o[(pxxp)][pdxqdbboq][(bxd)]oxqb(xpp(bddo)d[op]b[(ooo)])[[((oxppx[qxd]))](bpxobqqxp[d])[((b))[(bobbpbb)]]]]]))]]][[xpdd(ppqo)]x]dbqo((pqoq))((([qdbqpqxxpxoxbo][(b)[(p)pd[o]](([(xox)(pb[dx])][[b](d)op]))([pp][dq]xq)xbqp])))]])([((([bqpo...

output:

qdbqpqxxpxoxboddbqoxoxxbqdbpobpxbpddxbqpbobdobqpxbbdoppdxpoppbppdpbxopddxbdpxbxqqxoxppobbddobbooodpxopxqboqqpbxpdbxxbodbddpodbbbobbpbdqxpodpbddbqooqbdopdboddxdqodobboodqxoxdooxpddoqbqooqpxopxbdbodxxoodbpxoqooqxpobpoddpqbobbpxpbqoqpppxddoppdxxdopbqopqxbppqxddxpxdpqbbpqqpxbqdobboxpxbqbqxobpdoddbxodbbd...

result:

ok single line: 'qdbqpqxxpxoxboddbqoxoxxbqdbpob...odpbdpxxxqppxxpbboxdbqpobxxdqqx'

Test #38:

score: 0
Accepted
time: 12ms
memory: 6992kb

input:

[[(((([((((([[p]][[[xq[[([do]q)]]xbbdbdpqdo[d]]]]([pb]dp[([(pxob)])])(([(([[dx]]))])((odbd(d)))((q))opopoqdqobqxpo)xobp((dox))(qd))obdodddbxbppoqxqbppbpqbdbdddbobqpdoboxqqbdooxdxbpbpqpoddbqxbbpdopqbqqpbxoqqbdddpqxdxpxxpddoxbxbobopxxbbxdxxppbbopxbxdpboqpopdddxbpxooqpbxqxooqqqpppoqdppoqpqppdbdqpbxoqxx...

output:

dboxqpqqpdbodpqqdbqobdxqdqxqbdpddqppbqxxdpqbodxbodqqbdqqqdqqxbqbpdxpqqqoqpqdpxxxdoxbdxqqobbxpopobopqxqdopxoqoxopoqbbqodoxqooxoqoooxxbobddxqxddbpoboxxoqoqbqppqqxbpopdoxxbobqoqdoxdqqqbqpqdqdodxxoxpbbxpodbxqpxxqqxdoxdxddpqboboxoobqdbboxxqbqddqqqqoqpqxpqqxbpbdqddpqxpdxbdppqopqpqdpqxbdbbxxobdpxdopdxbqdpd...

result:

ok single line: 'dboxqpqqpdbodpqqdbqobdxqdqxqbd...pdbxqxobobxqqoqxpqxooxbddqddxpd'

Test #39:

score: 0
Accepted
time: 12ms
memory: 7116kb

input:

(((([[[((dbbdbbqbpqqpdqqdxbdoodbxqooooppopdqxpoxboopdpdpbddobdppobodbxoqdxxqboxooxqoqopopdqdqdqoxxdxdddoobdooqbpxoxqqxpqxbxpqpoqqpdxpqxxpdddqdbdxpoqxxdbqqbqqxqpxbbqodqbopbopqdodqdpoqbxbbpqpxpdqoxbobobpoqpxddopdboxxqqdqxoxpooqbpdxoobdpxqbxpxxbpboqoxdxxxpobdoxqbxdpopxqdqxbpbbdopqbxpbbododqxoqdpoqbdppq...

output:

xxpopopxoddbopxdpbqxpqpboxpxobdqxppxbqpxxopqxoqpdoopxqdpdbdqbdqqodbpqoodbppoxxodpqopbpdqqxxbdppxdopoopdpoddoopddoqqppxbddpxbbxbpbbdxdxoopbodppdxoobxdxxppoqxbppoqbxxpoxopdppqxdpdqqqdxqdqxqpxxqxqoqpqqpqoxdxxqxppppddoodqobdboobdpppqoddbqppbbpppqoodxqbqqdxbobdobbdbdqoxdpbqqodqdxobbbqbdpqxppbxpxbxpdqddpo...

result:

ok single line: 'xxpopopxoddbopxdpbqxpqpboxpxob...xbbodqoobopxbqodddoddqqxqxdxxpb'

Test #40:

score: 0
Accepted
time: 8ms
memory: 7060kb

input:

([(([[(([pxb(qpoopddbppdxdxqodxoqdbopxbbxdxpoopbx)(((([(xp[([[o]]ppqpd)]q(bxdddp)(px)([bxbod]))]))([(([(dodoppddoqqbxdodbppxpoq[xp]odx[[[([[d]])doxpp]]]qx([(doqoxq)]))]dxpqxoqbxobdbdxpqobpdbx))][[bxpoo]][[[(pqqd)]]])[dbbpxqqqoxdxqqdpbxxpxoooopddqddddxpbdxqoxxooppbqoqdxqxbodbp]))]))]xdbqbxdbbxoxxqbxp...

output:

qbqobxppqqbdopdbobbboqxbobdoopdxxobdobpqqbobobqbxxqqdbqbpbbxdooobxqpobdbbbbxoobxdqqbbbbqxdodddbxodbdbpxoqddxodqqdopxoqxbbdqbdqdxopodqdbopbpqbobbppxqdxdxbppdxdqqoxbdbodobdbxppqdbxoobbbbdxxdpbpqbdpoxxppdoqoxqodoqpqxopdxddxxbdxxxbbooxpobdodbbbdpddoqqxxxbodbdqdpdxdbxqqxopbdqbbqdbbqdxxpodxpbqbqoppxqxoqbb...

result:

ok single line: 'qbqobxppqqbdopdbobbboqxbobdoop...poodxqbdoqddbbdbxpdopqbdboxbbpd'

Test #41:

score: 0
Accepted
time: 12ms
memory: 6988kb

input:

([(([[([[qqqbqpqpoq([od((((([((([p[qqdbx]])))((qq)pq)[[[pqqoooppod]]]([((([([[([x]pq)]])])))])]dbd)))))[((boobxxdqqpbbdobxddpoxqpbbqxddbbppoqqbpqpdbobpq)oo(((dqdo(po)x(o)xbdp)(([(((bqd)))(ob)dxppbbb[([[qoq]oqp])]]))[(qo)]([([dddp])]))))]])(((xxopoddxxxpbddqqxqpxoqqdbodbbqqdxopbq))[[([([[([(xx)])]])(...

output:

qpoddpxxbxodxodbqoqqddxpqpoqxdpqqxbqqxdxqbboxbqoqpbobqpxqbxbqpddbddobqqxpxbbxbxpqdqbppqxobxxxbqxoppbxdqqqqddqpoqoodqboddxbqqbpxbopopopxdobboxqxxqoqbobpqdbppoqobbqbopbqbxbbppdxobdpbqpppxxppbopoqqobxpbdbqxdqxddddpodoopoqdoobxoxpobdpdqpoxoodqbpoxdoooxxdxxdqqddpdxxdqpbbbpoppdxddxbpooqpxqobodxpqddbqbxpqd...

result:

ok single line: 'qpoddpxxbxodxodbqoqqddxpqpoqxd...bbopqbqqpoqxoopdooppodoqbpobxod'

Test #42:

score: 0
Accepted
time: 8ms
memory: 7052kb

input:

[([od])[((d(obpd)))](do(pp(b))dq([ob]))q([(xpdxqpdqooboddd)]d)(dxqq)[dddxpx]xqpd[[(bopqbxx)]][[q]](ppxdbd)(ppxoqoob)[[xb]]]([[d(opxo)q]])(([[[([boopq][[qd]]oppxbpqxdq)]][o](([[bqq]])[pq][[px]])(bpbp((p)))[[(((qqx[[p]])b[pxp]dxqd))((o)pq([do]))]]odbpodpq[(xd)][(bq)][(o)][x](dp)ddxdqo][[[(dqb[o[([d])]...

output:

bodbqdoobbpbbqopdpxpdxqpdqoobodddbbxpdddxpxxdbqxxqbdoqdpqpxddqooboxddxppopxobbpxbdqxddopbpqoodoxdpqpddddqdqdxbbppxpqxdqdobdooqpboqbdbxpdoxdpqqxqdoqdoqbpxodpxxbbbpxoppbdpbpxxopqxpoppoqodxpoxdbodbpopoxxppoopoqxdxxbdqpobpdxxpxxbdpoxdbxqbbopqdxoodpodbqpqbopxddqobqqxxdppbdxbdoddpbpqdqxoqoxoobbqpdpqbqqoop...

result:

ok single line: 'bodbqdoobbpbbqopdpxpdxqpdqoobo...bqxdoxqoxqqxbobopbopdqdppdxoxod'

Test #43:

score: 0
Accepted
time: 11ms
memory: 7148kb

input:

([([([[q(([((([[([odppbxppxpbodqdpobqpobqpbdbxd])]])))]))([((oqqdpbxdbpbpb))(b)[(oxoobodbopbqdbxbooppqoqdpq)][[o]]][[([bxbdpxopbdbdpxpxqbppbbpqddqppxqxpx])o]])(((q)ox)p(oqo)(bx))(qx)]]([(pb[q](opdooodoppbbqbobpqqppqxbppqpoobpbbdpdbbxopdqdpxpdxxbodbbo)(pxqo)[bxxbo][xbob]([bxpdoxdoqqxqqppxbdxb(oqoxbpq...

output:

xoobbbboodbqqqbobqqqpqqpqxbpqxqdxxpdxqxoxqqxoqbbdqpdxxbdxxoxpddxqoddqbppobdqdoodqoqxpbdqbboqbqqopxbpdqoxppoqxxxxxobddbxxqbopboodxdoqddpppdqqpxqxpqdbqoooopodbxobqbdbpqdqoddxqpxpxdxxdxbbbbpxbbdqxpbodxpoopdooqxdxbxppoodbdbxqxopbxdqxbpppxdpbxqpqbddbxqodppoxxpqpoqpxqppbqpxodqpddxpbpbbxqbdddxxxbdxdqqdbbxp...

result:

ok single line: 'xoobbbboodbqqqbobqqqpqqpqxbpqx...opxbpbqdooqbobdpbxxboqqxddqbqbp'

Test #44:

score: 0
Accepted
time: 12ms
memory: 7164kb

input:

([(([[[[([((((([[([[[[[poxp]qdod][obqpqpxx]([[q]](xb))]](qpd[bqp])])[xdbpqbxbpxdoodbodxbxbopbdopqoqxooqp]]])))))(pxo(([[((([(d)]))qpxp(p)[[[qqqxppbxp]]])]]([[dxbopoxbxxob](((oqqpdodppox)[[([[[([[[qq]qpp]]obbdqpqxxop([(([(([ppb(xpxq)[bq]qopbdqxx]))](pb)b))([dxxbxqqpo[pp]])]))]([[[od]x][(d)po]]((((qq)...

output:

ddbbxqbpboxxxdbdddxdqbdooqqxdxxpdodbxopppbbdqoqpdqppoqbxxdxobobxbdpxodxqboxxodopdbbqoxopbooqxqoopqpdqxxdpqdbxpxpoodxpoxdoobbobopxdopbdbqpqdbxppdpbbqoxxxddoqdooodxxopxdoxdboodppopdxqpxxxbbqxxdpxoqpbppqxqdqppooxxbbbqpodbqooxdqpxqxoqqobpqdobpdqbopooodxxbddxbbpbqdbdxddxqpddqoobddoobxppxdxxoqqqpbxpdpxqqx...

result:

ok single line: 'ddbbxqbpboxxxdbdddxdqbdooqqxdx...qxdpdxboobqqqbxqpqopxbpqopxpdpd'

Test #45:

score: 0
Accepted
time: 8ms
memory: 6992kb

input:

[([((((([[[[(([([[b[dx([(dppoq)])(([[((o))]]))]pqqoxboqxqp(od)[dpo]((q))bpq(ox)[(o(dbbo))d]([((o[[b][dqxdxqqoqqppbqqbpqxpbpxdoo][[[[(o)]]]]])xq(p))])][[(q)][([[x]])[dx]]]])x(([[xbdpoboxqbpp]]))[[[qq]]](([dxbqd[pobq]])([([[q]]o[xo][ddo])[([o])]])[(op)]qdp[([[[p]][(pdp)]])qdpo(b)pb([do])])[(b[xbbqqdqx...

output:

pbpoqddxoopopxbdxqpbpxodboddoppqobxddpdxqoqpoqbpdqobopxppbdxddqxqxxobdxbbxqbpoqodoboxdxqoboppdboodxoxxdpxooopxqboqdqobqbdpxdqodoppqqdppqxopxxodxbpqdxxoqbqopdxoooppodqqddqxdqxxppdoxqqopbbpqppdxdxpqqxopoxdqpdxxbxxoqqddppdxbdxqpdbdobpbpqdobxqxpxbdqdooqdqboxppdoqqdododqqbqqoqqoodopxxooododxobbpoxpqdqxpd...

result:

ok single line: 'pbpoqddxoopopxbdxqpbpxodboddop...xdobdoooxbdxodpoqbbqppqbbpbpqoq'

Test #46:

score: 0
Accepted
time: 13ms
memory: 7024kb

input:

[[[(([[(([[xxx]]))[[([[d]]pp(qxdox))]]]]))[([[[oqbd]]])dobpq]bqxbqqbqdxd[[[(dq)[d]p[(((boqodqobb)))xp][b]]]ood]oppodxbdoxoxxbdboqdqdxqxd([pqq(o)[pxpdq][(([(xpop)]))[d]][p]((q))[qbbppoqddqoqbqxdboooodbbbbxoodoooopbpoopqxqdxddbbddqpp]((q))[[(qxqb[(((opbb)))]xd)]px]([(po((qb)b))])dqd][([[([[[[[xd][(b)]...

output:

xxxdxqoxddppqbodobpqpdxpddpdqxqpbqpqqobpoboqxbpoodobboqxpqoxoxxpqpodqdqxdxqbodbpxpbpbxdxqqpoobqxxoppodqpqbbddpqxpodbxobbdxbxddobbqddddopobqxdoqqxppopbobddoxbxxdoxqqqbpodpdbqoqqoxxqddbqboopdddbpqqpbopxxboqddpxqbbpxpboqdxqxbbxboqoxqboqoxobxqdbpqbopddoxbxqoqqqodqqoxdxxopdopdqbxpxbddxxobpppobobbdqpbppdb...

result:

ok single line: 'xxxdxqoxddppqbodobpqpdxpddpdqx...ooobopqobddxbxpboxdbopqqqxpxqqx'

Test #47:

score: 0
Accepted
time: 12ms
memory: 7208kb

input:

[[(([(([dqp][qqobqxdbb]([[qbdxxqpxqqbdpxxqdqopoppdp]])))qqoppxxopqpxpbo(bqbbb)[[[[pxpob]]]][[[(xxd)xx][[xq[bd[b]]]]]]dbdpob[[[[qbdodbdbpbxdopbpqppdbpoxxoox][[(([pqqxp[(ddxodqq)([[qqp]])]](po)[(([po])([d[[(pxb[[pqoqb]o])]]]x)[[qqobb]]dqqdpoob)]))([[[pqqp]dx](xx)][obbdoxpoxooqqqpx])]][[[((xp))([xx])]]...

output:

opxpobpdodoxdxbqdppxqopqpxxxpqqqppdoddpdodpobdxqxdqqobbpqboxddpqpqdxxopdbqqpbxbbobodqxpxdpdbdpqqqddqxxxqpodbpxqddqoxqxqpxobpqooqbqodxqbpqqqbpxddqqopxodpodpoodqoxboxbooxqpodbdxqpxxoqdxqxdqppxbbpboqbddddxxdpbdpbdpxopboxqxppddqqdpqqopxdboooqopbddpopqxdxbobddpdopoxqodpqbppoqqxppobpdpbodoxqbxddxbpqoopqxo...

result:

ok single line: 'opxpobpdodoxdxbqdppxqopqpxxxpq...dbppqbdbdxoddpbxxxbbppqbqqqqxdd'

Test #48:

score: 0
Accepted
time: 12ms
memory: 7004kb

input:

[[[[([[xqd][dd]([[[((((([[ob]oxdbo(od)]))(boppqpobb))([[o]])[[[(xbqb)]]]))]]])]bo(q)ppoqx[xb][(pbqxo)][pdqxoqpxp][([((o)o(pd)oddbxoxxoxbxqqbdddxbpdxqdoob([dqox[(x)]oxqpdpqopqp])[qoq])]((pbqdpd))[([x])((([[dodd]][([bpoq])]))[[[[d]]dood[[[do[((x))]]][[[([x])]]]od]]])](([(((((((oo))))(do)))[dqx]bp)])))...

output:

oqqdbopqpqpdopobpoxbqpbqqxoxodobbqqxdxqdxxoqdpdxbpddxddobdobodbooxoxoobbxxqqbbbxxddbdxdoxxxdxdxdxboddxpxbpodpxxxdpbdqbqxboxbboxpxpdqdddpddbpdqpddxqxpdxxoxbxqqbqbbodpbxpbbbqboboqoodbxqbqxdobpopbbbbxxoxppobobxdodpbpxxpbopbxxxxbdxxopboddqxxbodopdxxddqpboqxddqqbqdxbopbxpxpxpqdbbbdqqqdoqxpqdxddqqbpxxbdpb...

result:

ok single line: 'oqqdbopqpqpdopobpoxbqpbqqxoxod...pxddxxoxqdoqxdxopdbqqbddbbpoood'

Test #49:

score: 0
Accepted
time: 12ms
memory: 6996kb

input:

[(([[([(([([(((([[[d](op)pb([q])qboqx](op)x]xppbppbxbqbbxxbbdodbpqxodbbboddxdbqdqdbbpoqpdxoopqqpqqqqqoxbo([[([([((op))])p]([((xp)ddxbddbd)]))]bpq((([(([[[([([[[o[[[x[(xb)]qx]]]]bxo]])])[pbd[p]qq][q]pddpo[(op[[o([[(p)]])]])]]ppdox][[[[xoxxxdxodddddpp]b[[bqb]](xddd)]][((dbqxobbqqoppq[xqqbpdooqqdx]))oo...

output:

xqddpoodbbpbbobxobbxxpdqoqxxddodpqxpxodpqbqdbxqbdopqdqxbdbxpqpqbddddpopoxoqqxqbodbdxqxxdoqqdqbxodqoqpbdbqdbbpbxoqbdopopqdoxdqxdpdbobpoddopobdoqdodpoqbddppbqdqqodbxoqxqbdppxpppqpxqddxodxpbqpqoxpdbbqdodqxpbooxodopxbbppqpoqobqqoqpodoxpopbodxqqpobdoxxqqxxxpdxpqbobdxxpqodxbqdoxboqopqdopbdbqqopxxoxxodpbpx...

result:

ok single line: 'xqddpoodbbpbbobxobbxxpdqoqxxdd...xpxdppqqqqoodqbdppbbppxqxododxb'

Test #50:

score: 0
Accepted
time: 12ms
memory: 6976kb

input:

[(oqdbppoxbqbdpoppx([[(((bopoob)))]][(oodpbppooqqqbpoqoo)ox]))[([(([[(((([((qq)((pd[(x)]pp))(([(ppbqpddoxbxxoqddq(bxdx))])))x]))))(qb)]][[(([xpxbpxdqoqx]))]ppoqqbbboqooxoxqqdod]((pqddbxpdbxbxbxdqpdqpddbpoo(qqpxdpxb)))[[(((o)[[[xx]xpo][xdqdppod]]ppdqd))]][[bbqoqo]]dqq(pdoddxopxbqdqbqddxdxp)(o)[[(x)dd...

output:

qoodoqoopoqdpppooqqdqboooxxddodpqbqxoddqpboqxqqqxqdxqpdxoppbbdqboppopdboxoddxqpoxqxddoddqxxpxqdooqoddoqxqoqpbxdoxxboqpppqbdooopdbbpxxooqbbxbopqqbxdbxxoddxoqobqdxoxbodobpbqxdxqppxdxxbpdbbpdbqdqpboopbqoxqxxpooxodqbdbxbxdpxbdbqqqbdqqxoqpopxxodqxxxoopqxbbdqdbbxpxooqxpdddoxoxqodqdboqxpbooqpbodxdxdxbdbpdq...

result:

ok single line: 'qoodoqoopoqdpppooqqdqboooxxddo...ddbdpdoqxbbddxppbbbppdpxodbpxdo'

Test #51:

score: 0
Accepted
time: 13ms
memory: 7288kb

input:

[(((([[[[([((([(xdxpdqxqd(qqo))[[([bp]q)][(qb)dd[([boxb])]][((([xd(([db[po]]))])))[xp]]]]))(qqbx)(oqpbpod)(px)[pxx]pbo[[[bdoq]]][([[[pxdb]((o))p]])[bd]][(bq)[qxqqxqd](odd(q)(o)(px))(box(bd)xb)])])]][(xbbdbbb([[[[[b]]][[[([[qqpdq[(pdd)]([b])]])]]]([[obpqoqqxopddbd]])[(bppb)]]pbxxbo[([oxqqdddpppq(([p]...

output:

dbopdxooobxdbqxoqxoopxpboqobxboxbbbopbqxpppbqbxxqxdooxdobqddbpqxpdqpooxxxxxxdddopbxbpdxpxbqdqbqqqxoqoqqpbxxpxdppboqdqpoxqbxxpbopqoddodbxqbdbqqxqqxqdbxodppoqxpqxoqqpdpdqbqopoqdodpqooqdqoqooxxdbboqbqdqdoooodqbdxxpbpddbpdbbbdbbqoxppopqdoqddqbpxxpoqbdddpppbbxodddbddxxqbpxqqpodpxoxodpqqdoopxpodqoxoxxobpo...

result:

ok single line: 'dbopdxooobxdbqxoqxoopxpboqobxb...xdobqbppbxbqooxddpopxqqdqpxpbpp'

Test #52:

score: 0
Accepted
time: 12ms
memory: 7000kb

input:

[((([([(([[[[([xoooobob(qxdodpbxpxoqdqxxooqopopq(([(pbpqdbdbd)]xx)))[([([xp])][([pbddbp[[[((qqx)(p))]]pdq]]([[x][d]])[qop])])]])]]((bb[qbbp])qqpo[(d)][[x]][([p])]pxd[([popdq])(bxxdpxppxo)od(b)([bpooxqobbqqdbqx][d][(dx)])](bdbodbdqoxxqxqpxpdpbboqdp(d)dp)pdpoxqdqxoddbqpoxx([([(((q)xoobdxdbpxoqbbpdoobb...

output:

pqqqddodxdqpoobxxppxbxxbpdddopbqxboqpxqxpqqdoqqbpqbdqoxqdppoppddbbqxdbddqbbqqdxpdpoxoodpopqoqbobxqxbodbxdqxbqdddpqbdpbdbxdpppqododbpbodpddbxxqqdxqqpxoxpqpdqdbdbobbpbpqopopxxqdxdobdbqppdqoqoxxddbdqopoxbpopboooxbboqpbooqopqddpoqxdoobqxxqbxpoqxqpbddobpoqqqdbxdqboqpobooxoddqopqqbqodpoopobddpopodbxxpqoxb...

result:

ok single line: 'pqqqddodxdqpoobxxppxbxxbpdddop...dxbxoopqddpobbxpxqbdqdbpqbddbqx'

Test #53:

score: 0
Accepted
time: 4ms
memory: 7008kb

input:

([[(([[[bopq([d]dd)]][([[([[po]])[([([[([qpddpdppp([b][qx][pqx(([x])(bb)oddoxoxobq)])])]([op])]((xpx)q))])oxqo]]])]])(([[[[[[([[db((doo)([qq])b(((b))[([obb[o]dppdpbqddpobpooqp])]))]])]]]]][(((([dodo[bxpp]opqqpdxqqbx](([dx][pb])xqqopxxqbq)[([((xp))])]xd)))op([pdqbxpq]oq)((b)qbdqo))]([((bxx)op)])qqpd[...

output:

bbddoxopqoxdqpbxbdpbqqpbpoqpxopbpppqodxpbpqoxqxoqboqoooopxxxbddbpqdpoqqqqboxpdxpxbdxpxpoxbdpxqqodxdxodxbddoxodppqpoxbpqxbqpxoqopqpxqdqdpddodqpbbqbddpxoqopqpbbppddoppodpqdqbpppbqxxbbbbxobpboxqoqxbodddxpxoqpxbddbopdppxpqoopdxopqdpobdoobqooqqbbxqoxpoqpqqobxbdxpdopdqobxxpdqxbdxxboqxboppdbqxoopxdxdqdbqob...

result:

ok single line: 'bbddoxopqoxdqpbxbdpbqqpbpoqpxo...pxqxbpqxxdxxdopddbqpxbpqpxdooqx'

Test #54:

score: 0
Accepted
time: 9ms
memory: 6964kb

input:

[(([([([(([xodooxx]ppddp((((xxbqqdo)))[[opboppd]][[(o)[bb]]][dxxd][(xxqpxdbob)])[((xbx(db)))]))([[qd]oo]([o])pq)(([bd]xp))odpdqqx[[[[pq]]odxxo](xdp)pxd][[([(qboxoxpoopboqobqppqpqppqq)]([b]po))]][(x)qpx]((dxxob)(pxd)qqodpobqopxd)(qoqq)])][[[bqqopqxdxoqoqqqxpbobxpdbbbpqppop([[[qb]]])]]]dbbodxb)([[((((...

output:

xpddqdoobobbpddobbqbqobpobdpqxbxdbdppqoxbodbxopppdopqxxxpopodopppdoqdxqxpxxdoqoxpbbbpoobxboobxqbopboxxpxxdoobqqpbppbbqpbxqqbdqoxddbqodxdbqxbpqpppqqbdxxoxoopbboxddqoxoobopxpqobxxpbxqdqpooqoppxdqxbpoxdbodoqqdppbbbqxddqdopbbdppopppoqdqxxpooqqxppxboqqoopbxodpooxppqopdbpqqxobxoqqbpdxqdqqxqdqoqqppdqpbopox...

result:

ok single line: 'xpddqdoobobbpddobbqbqobpobdpqx...pqddpoxdopopobqobdpooxdxqqodpoq'

Test #55:

score: 0
Accepted
time: 11ms
memory: 7236kb

input:

[[[([(([(([[[[[(q)(q)xqop(qqbqo)]]pqpp([[[dddddd]](p)((od))q])oxq[bqoxop[p][(((o)))]]([[d[(bpboqpoppoqxpob[xod])]]])[((([oodxoqbqxd](bd)dx[o((x))o]oqxpp))([[[((oqxxbqqqbqbpxoooopdxpdbpx))]]])(qx))](obqpboppdqopxddoopxbpopqoxodxbodxqbpopxqdqpdppbdxbdpqxbqbbqoxdqqxqpdqdbbpox([(oq)[(qqxo)](((pxoo))[[x]...

output:

qoqbbbxqdqpdpbxdqopxbqddoopbqxpxqppoqodbdpooxboboopoxopxdqddopddbxqqbbxqxqxbodxbxdoxxbxxdxqqbqodpxdddxbqpddooqdppqqoxdodxoxdbdbxdqxdqxqxqpdpdxqpbqpdxdqooboxqqoxbbdqpxqxpqbpbxdpbodpqdxqddxbdqbpoooopobpbpdodpbpxqdxdbqpoqdqxpbxqbboqqdpqoqxxxqoxbxxdqpdxqdqpqbdpxddxpqobxopxxoqxxqpobxpxxxqbqobxoodpxoxodpd...

result:

ok single line: 'qoqbbbxqdqpdpbxdqopxbqddoopbqx...doqqxxbbqboqbqppdodbqoxoodpdpxd'

Test #56:

score: 0
Accepted
time: 11ms
memory: 7620kb

input:

[[((([([[[([([((((((([[[(b)]]])))))pqdd[q][oxqoqqpodqxpddxx[[[((db))(xb)oq][(([dp]))](oqbpx[(b)(dp)])(qp[[(db)]]bx)]]][(((bd)))]))])])(([[ddxbbdobp]([(dxqdoo)([dp][[q]])])]))]]]((([(ooqo([[((op[b]))[([dxxq])o]][pq(oobqbbpdqxp)(obbqqodxxq)]]([[(((b)))][[[[odpxb]]d]xdp][[xdopbodppopoooqoqobpoodddboqdo...

output:

qqopdxoxbodxodpqqdppbqxpqbxoxoqdpbopdodqdoqbpbpbqoodboqqpdpppbpoxobqbxdqoxbxpxbpdppodpopppbbpdxdxxqpbpqqbqoqxooxooqxboxbobpdxqxxbobpqbxxqdpxqopdxbqbxqpxpxppdbbbpbdbppdxpbpqdqdxqxxobdopqqdbqboobdbdqxpbppqpbqdoddpbxqxdoxxopdbdddqdppbxopqbqqqqxoppbodxpxbpppbooqpbbqodqqpbqbpxdoxbqqqpobpqxdopqppxbqxxopqd...

result:

ok single line: 'qqopdxoxbodxodpqqdppbqxpqbxoxo...bobxxxpdobbdqobqopdxpxbbqoqdbbx'

Test #57:

score: 0
Accepted
time: 14ms
memory: 7624kb

input:

[[([[[[[[[(([[[[([[[(oqqdxdpdpoqoqooxpxqqbdpbd[[[((([(((([[(((bpb)))d]]))([[(([(xxqqbxqbbpxood)]))]])))oo[[[[([[oppb]])((x[(o)]))][[(([[([([[(dxddxb)]])[([pb]ox)]])]]))]]([x]oxxb)pbqpb]]]])[[d]xqxpboxpq[qqxp[[[(bopo)]][d]]]][[(oo)]]([((([(((([((pb))[bbqpbbpx]])([bddb])((qxpbx)))))])[[dd]][[[[((([bo]...

output:

xqqobpdpdbdbbxbdqdoodqbxboqpobxdxxqpbxqxopoopqbboqbobodopdboqbqddpbbdpxpxqoxoxpqoxbdbdqpxpqxooqdqdbdxoxoqxboqqqpddpoxdooxoqpdooooqxdbdqqbpxooxqqqqoopbppxobbpbpdxdqboddopbbbxpoxxbxxbpxoqbopoqppqpqoqxqbbdoooqdpqqbpqxdbooqbxqxddbqdoqdxbqoqxdoqdqododoxqqxqbbbdobqbqpppdxdbbopxxpqddxpxoxpbodqqbxodooqoxbqd...

result:

ok single line: 'xqqobpdpdbdbbxbdqdoodqbxboqpob...xbopodoxxddbpdobodoqqqooxxodxdo'

Test #58:

score: 0
Accepted
time: 7ms
memory: 7556kb

input:

([([[[([(((qo))[[[[d]]xx]](bp[dpx]((p))))[(([(([oop(o)(xopdxpobx)]))][((q))]qd[[[[((([oo])))]]]]))pob(x)][([[[[([([((dobq))]q(qx))])]]]]([[[[(([([op])]))[[pb]][x]xqoxoqxboppdodod[([oo[[bdbobddbdo]]])]]]((([(((((((p(([([b])]))d)(([(dq((xp)))]))))))))])b([([q]dq[bo])])((([((d)((d))[p])]xdpbx)))))]])((...

output:

dxqdppbdddopdpboqqpbpbpxdxoqodqxpqpxoxxpoxddpbppxpopdxqxdxdbpoqxqbpqppbbbpbpxdxbdpoxqxbbqqxooqbbpdpxopoooooqxqxooxpooqoddpbooqoqopdppppdddpqqoxodqobdbpooxdqdpxdpppopxodqopxqoboqopqdpdobxbdbbxxdqxdxxoqbbbdpbbdpobdopbdxpxodxoxpopxxxddqoqdxpbqopxddopqooobqxddpqbxoxqxoxbpbqbboqdxoddbxdxxpxdxdppdpxdqxdqb...

result:

ok single line: 'dxqdppbdddopdpboqqpbpbpxdxoqod...dqqdoxqqxqqpdoppxppxbdoopbxdxdx'

Test #59:

score: 0
Accepted
time: 14ms
memory: 7924kb

input:

(([(([[[[qpqppop]]([[((([ob])(od)d[[oq]][([[[d]]])](([(bbqppqooopboppdppxxxbpbdbxdpopxqdodx)])((((((ox)ob))qpqx))))))]])[[([[[[[[[[(([[x[bd]]dp]))]]]]][([dpp][[[((((((doqopod)[po]pp)))))]]])][[(bqx(x[po][([bd[x]]b)]))]]([([p([(bpxdqdpdoxxddooxpoqboqpqxoxdoo)]((((px)))[(d)][[pdo]]))]x)])xdpbpoxqdbbob...

output:

ddxobdddqqqpbbpbqdppbpodbxbpxpbpdppxxoxpqbbpboxppqpoxbqqpqxoxoxbpqbbbxpdpdoqpqpqoxqppxqxqxpbbxpbqpobxdpbqdobxpddbxopdxpppqbpxpdpobbbxdpbdqoobpbpxpbopxbdxobqbdpopdobxxdxqqbqdqooxpxpqqxdpobodoodoboqxpdodpqxopbdopboxddoxdqpxdoqxoxobxoqpoxpoqbdqpdqddqbxxdbqbbxxbbpbbdpbpxopbpxbdoqqpdbxxbqdppxpoqpxbxxbqbd...

result:

ok single line: 'ddxobdddqqqpbbpbqdppbpodbxbpxp...xbqdbbqpqqqbbqbxodpxqqbbxdoxoqb'

Test #60:

score: 0
Accepted
time: 15ms
memory: 7656kb

input:

([[(([(([((((([([[([[((([([(bpoq)[[[[([q([((qbpoddpp))])[dbb(([([p])]))]])]([(([[(xdxb(qdbo)[[[[odb]]]]b)]]([[(pb)]])[(([((xbdqd)[d])]))oq][b]x))])]]]])])([[xoq(x)]])))]])(([p(((xobq))oq)]([([([[dbxxppb]])])])((odqq[op]odxbbppxodbbox)))(([q]([px]([[o]])x)p))x(o)(qb)o[x])][[([[[[o]]]])]]p(([[(qbxb)[[...

output:

pdqodxxoqpdxqooxxpxooobdopoxoooqpppoobdoxdpxxdddodxbqqxpxbxppodpbdxqpqdddxpqbdqdqqxodxpdxbpopdqxppbqxodxqpbpqdpppppdqodbdopppbbbbbbddbbxbdxdxbddqoxpdbboppqpdbboqobxpxpxpqodobopoqdboooddpoobddbbopbdppxxbqdqdbqdpbopqoqbxqbqbxqqooxdbpbbpqbodqpqxqdoqqxxqqxxooqdqxdxdxqdxdqpodpxqdqpbbqbpxpxqbxoqbxbdqdxodb...

result:

ok single line: 'pdqodxxoqpdxqooxxpxooobdopoxoo...ppbbdqoxdopbdpodbxbxoqdoqbxpddx'

Test #61:

score: 0
Accepted
time: 11ms
memory: 7888kb

input:

[([([[[((([((([([([(((([(qp)x])dxppdqq)))])[[qbpqb[[(b)]]dxqx]]([bopqobdbpqqxobbodxpbqqoxqdxodxboqddpqxxpodpppqdbbqqoopod])])[([([(([[b]]))])]od)]]([(([([([(pxd)])[([[[[b[[([((qo))(oq)])]]([[((([xdqp])[[xxoooxdxoppp]][d]((p))dq))]])]]]])]])])[[[(d)d[qx](([bqpxdd[([xqb])]]))]]])[([[[oox[xb]]][(pqod)b...

output:

oppqqdodqppbdpbxqdpqpqqqbxxxqbopoddpqoodbpbqdoxdoxdbpdodqxqpdoxxbdbbxoxxbqpqxxqxqpobxodbboobxpdxbopbbpxqbpxpqooxqbdpodpoboboqopppxppdqqobdppdxbqbbxoxobqobpxdxboqqxbdpqoqbboqooxodqxdbdoxqdqbdoxpxpqobddxqpbxqxoopqbxdpxpbdboxoopbdxpqboqppddpqdbppqbqopdqpbxpdoobdxqopqpdxpxxbxpddpdbobbpqbqqopopopbxbpxbqx...

result:

ok single line: 'oppqqdodqppbdpbxqdpqpqqqbxxxqb...qpddxxpxpodxbooqpboxdxpdbqboqod'

Test #62:

score: 0
Accepted
time: 17ms
memory: 7700kb

input:

([[([[[(([[((((d((((q))))[od][dbqbd][((([oqppodd])))]bqxddq))b[[x]]bpb)[([[o]])][[[(opob)([[[[o][(pddppd)]]]])]]][([(o[(((([([(([([[((bobqddxpdbopqd))]])]))])([[([qppxxxxpbqd])]]bbopb)])[[qpqop]po[podbx]]([d]))))])])]dpdoppppbpqpdpqxboqpdpbxpxppqodpxoqbqxbdbxdboddobpxpxbdpboxdobpxbpdpxdqdpbpopqdpxqb...

output:

pxdoxboxpppqdpdddxpbbboooqxdooxpxoxpoddppbbbqdbdqoqqqpxdqpobbxopdqxpqpxbobxdppqpxpddpxxoxpxxobqoqpododbxqxoqqbbpbdbobbobpdxdxqdpdoqobbqpobqxqxbxbpddbpbbxpoqbdxxxoqpopbxqpqdbdpxopbpxdxooppdxdxqqxpooxdoqqpdbqxxdxddpqdqdxbqqpdpxpxooxdqxqdooqdoopppdxoqqdoxqpqbxqqxodqxdxxbbqxbdbdppoqxopxbpqbbbqopoboqdxdp...

result:

ok single line: 'pxdoxboxpppqdpdddxpbbboooqxdoo...oqbpqbpxdbxbxpqxodbxpbxbpdxpppd'

Test #63:

score: 0
Accepted
time: 15ms
memory: 7752kb

input:

[(([[[[([([[([[(([[[([(([q([[q]])[[[(([[[qx]]]))]]([((d)[((q))])]pb)]]))([[([((((obx))(q)(([p])xqx)qdqqbqbpdxxbdpxobobxp))])][[([(o)]d([pobo]))dqpbp]]]([((pd[((((([p]))[[([[(b)]])]]))((([(((q)))]))))]dqdddqxpxbp))]))][[[xbbqqdpbqqpopooxddodqqqqxqdxqxxbqbp([[[pqobd](([pboboxpx](((px))))[[pxoxo]][[px]...

output:

obboppobqbbbpodbdxdqpqbqbddqdqqqdxbxpbdqdbpoqodoqopxbxbxpdqddpdpbqxxpqbxopopxbxbbqqdpbqqpopooxddodqqqqxqdxqxxbqbpbbqpxqooqpxdobqpxbxbbbpppxxdxoqoqdpxoxopxpqobdqqxoxqdqqoooqqqbpxxopqqdxoxpobpxqqoqoodbdoqdoxddbqbxobpoqxppbdqxpxpxqxqpdoodxpdbpqbpbbbdpdbbodoqdbqdbpddpxppoqpoqopbopbpoxxpbpqbodobbqoqxqxpb...

result:

ok single line: 'obboppobqbbbpodbdxdqpqbqbddqdq...qbdxxdbqbpdoxdxqdxodqpqdpdxxdpp'

Test #64:

score: 0
Accepted
time: 14ms
memory: 7740kb

input:

(((([[([([(bdqobx[([[([(([([((q))])])([([[bbq]xdob])]([([(oxpoobbpoq)])]))xpo[[[[(qpdb[o])(q)]]]])((xb[([p])((qq(qd)))](([((d))]))obxox))xpppqdbqopbbododbqpppodd(((q)[[[[(dxbqbopxq)((o))]]]]))])]]((([(((db[[[([(o)])]]][[qx]xd])))[(([((ooppqdpp)d)])ob)]])))([([([q])x])]p)[((pdpopobb))]q[([[((([((bd))...

output:

ppqpdboopbqdoodxxbpbbpqpxqopdxbobpqppoobxobodbxqoqbbopoxpxqxxbxbxxddoodoxbbxdxxqdopdxbbddodddqoppxbdqoxpboxdbxqqpdpqbqpxbqboqxppxpxbdqqpdoddddqdobbxdpdxpbxpqdpdoxxpbbdboqpdqxpxqpqxqdbppodpbxppqdboxbxbpbxpxpdppbpbppbxdqxpxbdqpqppxdpoqqdoodxqqoqbobxpxddopqqqxdpdddxxdxxxqobqbpxxdppdbobqobbdqbqpdpbpqbox...

result:

ok single line: 'ppqpdboopbqdoodxxbpbbpqpxqopdx...poqbqqbqdoqdbqbqpxqqpxqpbpxxbxx'

Test #65:

score: 0
Accepted
time: 14ms
memory: 7888kb

input:

[([([(([([(([(([[[([[[b(xq)]](([b[[d]]]))(((oq)o))xp[[[([b[(xq)]][(dx)])]]][([b]dbqoqo)(q)][((x[pq](([[[(d)(((bp)))]]])))[[[pdq]]]p)](((((([[[[[[[[[([[(([(boodppbdqqb)(qbxo)]))]]((oxoboqodpooxoqdodooobppqoxxqbbboopqdodxodbpxodxdoppqxdpqxdxqppoqqqbodpqxxdpxqxoo))([((bd))][[[[[(o)]]]][bx](d((od))[[[oo...

output:

oxdqopqxpdbxxxbpodpdppqbbpxqdbobdxppppqpdobdpqbdoodoxxbpxdxxdxxdqqxxoqopoobdoooppdqbqqpxbxboooppqoppdbxdddxpxdoxxobbbdpdpbpddodqoxbxpqbpoxxooxbxpbxbpdbdbdqpobxddoqxodxddbpdpxqpppbpoobodpqdpbqdbopopqqqbdbdpbxqpdxdpqodpqdbxpppbodppdqdbqddddqpdddppqdqboopbbxodbxpddxxbdbxpobbdboqoxbbdpxoopbbpoxdxoqdbqdp...

result:

ok single line: 'oxdqopqxpdbxxxbpodpdppqbbpxqdb...opbbpqqppbdbddoqpoqxpxqdddpdoqd'

Test #66:

score: 0
Accepted
time: 15ms
memory: 7712kb

input:

[(([([([[([(([[([[[((((dx(op)([d[[[[[pd]pbbd][(x)]][(obqxd)]]]]))([([(qpbq)]bpd)]))([[(xdx)([[qxbddopdbqqpppxobqoqo]])]])([(((ooqqq)[x]))]ddxqpx((dq)boxxopqqx)))([[[b]]])[([([bqq[(boqdbppoqq)]((([((x[oxb](xoxd)(([([([[o]])])])bpx)))])))[(x)]])])])]]])]]([[[qp]](([p]xd))((db)([((o[[[dpob[d]]]][(dobd)...

output:

odpbqopbbpxxqpdqqxopoqopdpxxdqqpoqdpxxdxqodqobooppxbobxdqxdpbdqoqpboxpdqbdxboooxoqpqxqxxbppbxbqbpxqoxoxqqoqxbxoqoodbxpbodqbpbqdqbqooxqpooqpxqbpdpbxdbqqdqqbqddpddxbppbxooopxboppbobbdpqbpopxooqxxxbxqbqxoodboqdddxqpqbxdxpdxdqoqxdxqxdpqoxobqqbppxpobbdxqxoqpodppdoqddxbbxpoxppxbpobxobxbdxxqxpdxoxxbdxoqbxx...

result:

ok single line: 'odpbqopbbpxxqpdqqxopoqopdpxxdq...dddopbdbqdoqbqqbqqqpdpbppdqoxqo'

Test #67:

score: 0
Accepted
time: 10ms
memory: 7660kb

input:

(((([(([[(([[[[[([qq[p[(qqop(oo))d]o([pbx])([qpoxxxpq])](((([[qqxxp]]pd(qo)[[[(p)]]]do([[[[[o][bx]pxoxdo]]]])))[[[dpbdqppxxqxbxoqxppxqxxpxdobqoqoxdopbdpobbpdqdxdpbdqbbqqqbopqbpoxppd[[[[o]q([dp])pp]bxqpqp]]]][poq][[pddb]]]((([[([[[([bb([[((dxp))]])((([q[bpdx]])))])o]][(pdd)]]([xo(([([q])]))[[q]]p(xpq...

output:

xdppxddqxoqqqpdoqddopxxodopqbbbbbqbdpbpodxxoddbqppqxddodddxxdddxqppppxpopbqqpodxpobxqqpqxxbqbooobodxqxoqqpqodqqodboqxoxqopbbbpqdxoxqqppqbbpoobbppbxbbbxdpdqqoxoopbqpqbqdqqxdqdqxdpxodbpobdxoodqdodqpqdpqpdoxbbopbbboxopppboqdbpbqppbxbopxdddddpqxpqpdopbodqoxxxbxqboppbobqxoddopodxoqddbbbpqxpoqqxxbxbqpqqod...

result:

ok single line: 'xdppxddqxoqqqpdoqddopxxodopqbb...xxpbddxbqbxdxdpoppobbooxxbppobo'

Test #68:

score: 0
Accepted
time: 13ms
memory: 7812kb

input:

(([([([[[[[[([[([[([xdq])xp]])](([o(([([xdqx])])([(do(b))])((o)))([(odobopxqqxbpobqboqoqoqddopooqbppqxdqoopb)[qob]])]([[[(do)]]](xq))([((([[p]])))])[dbp]db)[(([[[[xdpq]d]][([(((([(bop)])d((bx)doxb))))])bpddqqbxddo](b)])dxdxopbqdoxqdxdxooqqppxdxqxoqoboddqoxppqqoqdpqdbqbodbpbppdqqxpdpxbqxx)])[(([[[x([...

output:

bpdxopqxpqbdoqopdpqodxqbxxoobbxxbobxxddbbbobqbboxxqbqbqpxqpqpqdqqbddpbpppxpbdbooobobxxqpdxdbxpxppobbpdoqbbboddbqqxxbbxxqqbxqqqoqboqpxpdxdqdboddodopbqxbqbbpbbxbdqpxddxqbxpdxdbopoopxboddoxqqbxqdbxqqqbqbxdpopqxbppddqbxpqppdbxopdbqbdbpxdbxqxoxbqdpbbpoxpodbopbdxpxqxodqxpbbdpdbxddoxpddopxbxqpbodoxxxqxqdxo...

result:

ok single line: 'bpdxopqxpqbdoqopdpqodxqbxxoobb...pbdbqdxdxbpxopdoqppxqdpoobxoqbq'

Test #69:

score: 0
Accepted
time: 14ms
memory: 7980kb

input:

([([([((((([[[[([(bqq)][[[oxx]]][([[[ob]([ob])(q)]])][q[[pb]]][[oqbo]])([(((([do])[(dod)])(([([((b))])[xbqobb]]))[[xx([bb])]][[bd]](o)(b)(d([x]))([qp[[q]]p(x(q)bpbqxx)([d])[o]])))])[[(ppdxpd)ob([[[([[[[(dbdooxxdo)]]bpxbqx]](([(((q(ooo))))[[[(pbx)]]]])))]([[([[[xb]]][[(((([([[(o)]])]))))]])]])]]([bb]...

output:

pxooxqodqoqdobdpxbqqodbbxxxxddopobdqpqooxxdpxxpoqddpbqxqbqxdqbdqppqqxxqoqdpdbqbbqdoobdopdbxdobqxpdopbpbodxbqbqdbopbxbbqqddpbxdpobxqbpqdbqbdpxobdxxqbdqdoxbpboxqxpppopbbbbpobxdobxboxpdbqqbpbdqboqbxdxoooqxpodbxqoobbxboodqbddxdppqbqoxbqpbpobxdxdbdxbbxpbdxdbopobdqqpoxddqxodpdxbpopbpooppdpdxqqqbpbdxqdpxbo...

result:

ok single line: 'pxooxqodqoqdobdpxbqqodbbxxxxdd...dbooxxdqqqbpbpdqqbdoqddqpxoooqx'

Test #70:

score: 0
Accepted
time: 10ms
memory: 7656kb

input:

[[[[[[([[[([[(oppbqqqbpbbxoqdboxpdpdoxdpqpqooboxopqpbbxqxx)]])](((bp))qoopxp[[[[[[d([x])]]]]]])]])][ox]((ob))]([[([([([[[(qq[[[(b)]]bqbx])]]])[([(([(xpbdpbbbbpqxopqbodqoopbobpxodqddpppxxoopboqxbqqqdoopopopdxb)]))])][bb]([([xx])])[(((((xb)x))(([x]pq))[[[d]]]xoopqb)[[((((([qpoqodpodbb([(ob)])[oo([(oq(...

output:

bpqoopxpdxxxbxqqdbdoxoqoobdbdpxopdpdxoqpboxqqdqbbbqddooxopdbppqbdooxbbdxxxpbpdpxobdboqpdoqxqxpxbobqqqoddxoqddqbqpoqbqpoooqoddboqbopoqpxxqqqxpdododoopbbbqxboqdooxxdddppbpoxdqoqdoobpoqbdoxbdqqqqdpqdxxdpdbbbdqboxpqxqqqdqpddddbbbodoqxqqdoboppobxpxxdobqopqddddqpdpdpqodxoqbopddoxdqoxxbqoqxqdpbppboxbppdxob...

result:

ok single line: 'bpqoopxpdxxxbxqqdbdoxoqoobdbdp...dqxqxqqxbxqqqxdxobdoqqxbdodpbxo'

Test #71:

score: 0
Accepted
time: 16ms
memory: 7764kb

input:

[[([[([[[[[([[(([(([[([(([([[((((([(((([([[[[([[[[[[x[[dd]]px([o])]]]]]])]]]])][bo((doqodqdqdqd)(q))(((b))[xxp])][[(([[[((([(d)])))]]])([(([(qq)]))])xxxooxqpd)]]))))([(([xo]))])bbxpq[([[(bopxo[[o]])[[((dxpbodxqqdxbxdbqxxpxqdppbbqqooqqppqob))[[[[qbxbo]]]]]]]])]])[[([[(((((([[[[(([(([[x(((p))[oxd]qdq[...

output:

qpqbxpqqxbxbqdbqodpqbddobpqpqqpdoxdxopxdqqpdobqxdoxdoobqqopbbbbbbpboxpbqxbxbqbopqdxbpddxpdxddopqqpbbdqpopqdxppqxpddbdqxqpxpoooppoxpxqqqdxbdqqbopqopxqpxobboqxxxxxpdxqoobqqqdbqqbxqdqdxqoqqpqoppopdqxdqxdoqxbxqpbxdobdooqxooxxqoobqdqbbqqpqqbxbxbxpqpoxdpdbbdxopxxbpopppqdddoxpxdxqpqbpxdooqbxoxqdpxxdxxdbbqx...

result:

ok single line: 'qpqbxpqqxbxbqdbqodpqbddobpqpqq...poxpxbpqqqbopdbdbpqdxbqbopbxoxo'

Test #72:

score: 0
Accepted
time: 15ms
memory: 8032kb

input:

(([[([[[[[(([[[[[[[([[([(([[((p))[[[[([(([([(([[[xqboqpp]][(x)]]))])](x)[(ox)]))])]]]](([[(dopppoopo(([(qx([[[((([((dpo))])))]]][[[[[[(x([oq])([[(b)]]))]]]([([bx])])]]]([[dq]])pxxqbb))])))]](([[[xo][[([[o]][pp])]]]](od([qpp]))[([x])](o))([[((xbqqo))]]))[[[[(bbbodoqpb)](o)]]]))]([[((([dppbxxdxqb])([[...

output:

xoopdddbobqqpbbqxdxdqbxxdodqqdqbxoqqxxdbbxpqxddbpbppppbopqxxxdxoqdxxxoddpdpdbppxodpbqdxxoqoxbxddqqpbdqpoooddobbdbppqqpbqdqdqbopxdoqoqqpbxoxbpopxxdxppoxqdxboqdxqopddxpdbobodbooobqxodddppbxbqpqqxdbxpbopdoobxdxbqopqboxpddqxpxddxooooqpdbqppqdoqoodqdodbxbdddbdpooqpqpddoqdqdqdxbxxpopdqppdbbxbqbxxbxbdbdxpo...

result:

ok single line: 'xoopdddbobqqpbbqxdxdqbxxdodqqd...booxpqqqbdpdpoxoqpqdoxddqbpobxq'

Test #73:

score: 0
Accepted
time: 14ms
memory: 7628kb

input:

(([(((([(([((((([b])o(oo)(([[(p)]])))[dp]))((((([(qo)qd([([[q((o))](([[do]])p[((xp))])])])])))))[[([q])][[(dq)]]])])([[([[qp]][qpqdqdoo])]qbddoxq[([[x]])]])[(qbpboxxxbpodbbxoddpx([[(b)][o]])[[pd]bd])])[[[[(dd)](([dxpd((ob))([(([ob]oq))][[x]])]))][[[o]][((ob))][((q[[[oq[((d))]][[x]]]]))]]]]((([[[((((...

output:

dpbpoxxxpboqppxoqqbxopbqbdoopbpbdbqpdpqqoxdxdqqopqddodxqdoqbdooodbbdxpdobxbodooobqoddxoxoqopbbdpbbbxxopxdqxdooodoxbqpqoxbqpbqdobqbqxopdxqdodbbbqopoxbdoddxxpdxdqpboxxdxdbpoqbpxoxdxoxbodqqboxdobdbbbxpdbxpqbpdxdpqxpdqpdopxooboqbdxpoboqppdbqxoxxpxdxppqxxboxpdpbxbpoqpqopbqbbqqddppdbboqxoxxdqobbdodppbxqbx...

result:

ok single line: 'dpbpoxxxpboqppxoqqbxopbqbdoopb...pdpoopqbobbopdqbobbodopdbdxoddd'

Test #74:

score: 0
Accepted
time: 15ms
memory: 7796kb

input:

([(([[(([[([(([([([[qqxxqxbxpoxxxbqoodoxbdxqqpbxooobqddqxbpdqbqbxxxpobxpxbqxoqoddqdxqxqoqbqoxppdoxopxoppbppdbddqqqpqqdoqbdoxoox](([([[[xb]]])([[(((o)))]])[[([[[qb]]])(([([dx])]))][(((([x])d)))]]]))]([([([bo[[([[bq]][[p]xbp])]]][[d]bx])[(((obqqdxdxx)))(([(x(oxxqox))]))[[[[[[xxo]]]]]]]])])([bp])(dbxp)...

output:

qbboxoqbdpqpxqobopbxbpdoqqodpxbdqxopxpxqxbbxpxpxodpdqdoooqoqddbdxxqxddbqbxqqxoxqodxqpxobqxoqdqxxqpdbbpooppqqbqqxoxooooqbodbpodbxbpqqqoqdxxqqdxoqbqxpbdpbdbqddbqdqoopopqxboxopqdxqppxqxbpxqxqpbxbpxdoqpoboododxpoboqbqxboobqbdxqbdxddodqxppxodopqbboxxoxqoodbdxbxxbbbqodpxqqxqxbqopdpbpbqddxqdoboxxxbooqxoqbd...

result:

ok single line: 'qbboxoqbdpqpxqobopbxbpdoqqodpx...oqxppoppoxxxdxbpqppbpobodpxddpp'

Test #75:

score: 0
Accepted
time: 10ms
memory: 7960kb

input:

[[(([[[[[([([((([([([((b(([(([pd]))]))[[(((ddo)))]]))](d)((dq[[[[oppp]]]]))obodqx)])])[([[pdq]][([[(bdpq([(bq)[[o]]][pdxqxxbxbppbdbdbxpqxoopqdbxxbxxbbxxxqopoqqqqobqqppbdqxbppxxbboqppqqpxobppxbbdbdoqdoq]))[[(qpb)]][(([p])xp)][(pppop)]]])(([[[[d][d]pd(qboq)][((b(xqp)))][[q][(d)]][xx]]]))])([[((([((([[...

output:

bdbqqpodpdbbbxxpoddxxxqbpddbxdxooxbbxxbbppbxodoxdbxqpopdoodqxqoxxbobdxxbppqobxqqpbdqoobqdpopbxxbpxppbbddbdpboxbbbdqpxxobxqbbqbbdqbbdxoqbbqdooxbodobpbpqbxbdqboodooqopbqbdqdqpbdodxdxbdbbqbxpdooqoqdqqxxpoxdpdqdbbopodopxqpdpxxdoxooddbopbdxxoxpdpooodpbbpoddbxxdxqopbpdxbpppbpbbqpoqbdoqqddbqxoodxopdpbqdbbd...

result:

ok single line: 'bdbqqpodpdbbbxxpoddxxxqbpddbxd...bppxxbdbbqxdbbopboppqbqdoooxqbq'

Test #76:

score: 0
Accepted
time: 7ms
memory: 7776kb

input:

(([([[([([([((((([[(((((([[[([(([(qx(([([(([([(((qxpoxpx)))])])[dd])])[[(oqpq(([[(bq)]d])))]][x][[([qod])([obb])(bqbp)]([([(((([(dbpp)]))))])])[[[([([[(([([([do])](qod))](ddqqx)))]][[[(([[((([(d[(([[([[ob]])]]))][([[[qb]]][([[(o)]])])])])))]]))]]])])([qo]([([([[[((((([odp])))))]][[qb]]])])([[[((bb))...

output:

odbooxppbxqbqqppqbqdxqxbppxpqqoxdpqobopppppqbqbdoqoqdbooxpqpqxooxopqdxoddobqpdpoboqoppbodxbxppxxxxqppdododxdbodoooqoqqbddpbbqpdqopbqbxxbqododqbxopdodqqbpbqqxopbobxdoqoobxqopxxqdxqdododbpppxdodqxqdxxqqxodpxdbdqxxxqpxodqqdqddoxdbppqppbbbxoqxqbxbqdpxbddpqdxpqxbbxxqoxxdbbqoxdoqoxpxbqdqbobbqxqqbpoqxpdpdd...

result:

ok single line: 'odbooxppbxqbqqppqbqdxqxbppxpqq...oqpddbxpxoxbbddxxbxbdbbpbxbppqq'

Test #77:

score: 0
Accepted
time: 14ms
memory: 7732kb

input:

(([[(((([((([(([[[ob((dppdb))oqxb((([[((([ooqxbxpo])))[[(x)pxbpdoqqp]][([[[oodqo]]])](((boodpopxpoxbooxxobopxqpdqqbbxdo[(pd)])))]])[(([([pqoodxoqdbpxpboxoqxpqqodbqobxqqbdd][(((opdbx[[(p)]]d)))])]))[[[(([pqq]))((((xp))))]]]]))][[[(((([[(dbpobxdq)]])))[[bpq(b)bdq[x]]])]]](((((([[([(xb)])]([o])(([[([((...

output:

ooodqdbppoodxdqpxxxddbppoqqxopoxxxbodoqpppbpxbqdqqpxdxxxppobxqxppxxxodxdobdxqxbbddbdddbbopdbxopqoqqxpbbxxoxbobpdobxqppobpdxdpbbxqoqpxbbdqopoqpdbpxoqbdpdxbqdbdxpqpbqoodqpdooodxxobdbdqqpobqdodxddbpxxboxdbpbqbdpbpqoboxbobxqxqobdpxqboxboppppbpdxxoqdpbdbpxpdxqdpdbddpxddbxbdoddqxpxbooxpqqxdxdppoboqoxpdpxo...

result:

ok single line: 'ooodqdbppoodxdqpxxxddbppoqqxop...doqoxxooqxodxdodpooqqxboqpddpqo'

Test #78:

score: 0
Accepted
time: 15ms
memory: 7728kb

input:

((((([(([([((([[[(([[[(([[qp]([[oppopqoqobxxqdpopoobppooqb[bd]]])]))]][[[(xoobpqxpxoxbxbbppdxxxooooppxddbbqxboxoxpqboxboobqbbboqoxpbxxpqoxoqoxdppxxxqqbodxdbqoppb)d]po]]](((xdbqbdqxxopqxxpqoxppxpdodp[xdoobdpqpqxxbqoqqod]))((([[(([[[([dd])]]]))]])(([(qbd)])xo)))))([(([(([(([x])[pxdodbxq])])[[((([[[([(...

output:

xqoopqqoxbbxooopdoqddbqbxqpxxqxxqppbbqpdbdpodoxbxopddpxqqqbobbdxbxdqqbxqbxqqbqppboxxqpqxbbxxobbqoxbqddobqdbdqqdqpoxdxoqodbpqoobddpdxdboqqpoqboqqxxdbqdxqbdpdoqqxbbpoopodqqxbdodqpbdodbxbppbdqdqxqpqoxdxxqoxxoxqbbpoddqqqbppodqdoqpxbpxbxxxbpxobqbbdxbdqbqqdpqopxbopbxxbopoxoobqxbqqpxpxqqodpdodqxqbpqpdqbqqb...

result:

ok single line: 'xqoopqqoxbbxooopdoqddbqbxqpxxq...pdooddxbqoxpooobbxpoxooxoqqpqbq'

Test #79:

score: 0
Accepted
time: 11ms
memory: 7680kb

input:

([([[[[(([[[[[[(([(([((((((([([([poop])][[(d)]xxox])]))))))[(xxxoopdbbxboqdxqqbqdpbbxdpobdqbopqboqbpqxpdxqoxdppppopbxxopqbpqxdqqoqoqdooq)(([[ob][q]]([[d]xpqd])))(b)[((([[[((q))]]])))][[(dxq)]]])]))][([[(([[[[[[([qo])]([[((((p))))]]((([(b)])(op)))[([(((ob)x)(([[([d]((bxxoopo))[po[qb]x]dbb)]])))])][qo...

output:

qdxdbddxqqbxxpdqoqoqxddqboqoboobodoppoxxpoqqxqxpdqoobqbbdqbpqqopopdxqdoqxqpxqpbqpqqpbqxopddppodbpppxpoqpdpxbpdbpbbdopodxqbopoxbqxxpoqobqooqddbxqbdbbpdqpoooodqboxpodqdoooxbobdxqqxqqbdooxdodpbqqbdxqbpbqxpdoqqboqoxbxxppoqpoddoxdbbqboobppbdqooodpbxdoqbdxobxpbbqbqbdqxqxdbdbdqqodpdodxpxqdqxopdddqxpoqxoxob...

result:

ok single line: 'qdxdbddxqqbxxpdqoqoqxddqboqobo...bbqopqqoxppboopqppoqpoddoxxpdqd'

Test #80:

score: 0
Accepted
time: 15ms
memory: 7688kb

input:

([((([(([[[[[([[((xb)dop)]][[[dq]]](((dpbbdxp)))[[x[(((q)))]qq][([xd[(d)](((((b)))))o])]][(([([((([(boqpxd(bbqqxo))]))dqobdbxqpdqoqoopbpoobbdpqxbdpoobbbpxbpqqqbqboqoxxopqodbdpbodqbqbbbbobddxdqbdxqqoqqxddxpoqbdbbodpbddbbqpodqxbodopoxpoxqqdxdxqdoxbppdxbpobqoqxqobbpxqopxpoxqqpbqdobdpdpdqbxboqxdxbppdbqb...

output:

oxbxbbopdxbpoxpdpdbqqdxbxpodxdpbqbqbdobpdqppxoqxqopxqddopxpopdoqdxbqqdxobpxbxbppxoqxoqobodxpboqpddbbdqboddbdpoqxbbxppoppxbdpbxbbdoddddpdpbodqbdbopqoxxopodpdpppqdxqdddooqbdxpqbddooqdqoopopbqpxdbdopbpodbxqoxbbqqdpqxqoopqbbddqoppbxpxpobpqdoqxobbqdoxppoxdoqboxopddddqdqoddbqqbpodoxqppbodbqqddoqpqobqqdbpb...

result:

ok single line: 'oxbxbbopdxbpoxpdpdbqqdxbxpodxd...pbqpqppxqdqqpdxdppdqdoobxqbqxoo'

Test #81:

score: 0
Accepted
time: 14ms
memory: 7772kb

input:

([([[(([(([([(([[[[[po]]]]([[[[[(((xddoddpbp))[[((((oo))))p]q([[(p)[p]]])]pqq)]]]](xddqq)])][[[((([[((([[bx[((((op))))]]]))obop)]])))]]]))][[[[[[(([([([[pxxqoodpxb[[([p]((qddd)))]]]])])])(((xb)))[p]qb([[po]([((bq))p[q][o](((po)))])])[[[((q)((dx)([[qod]])))][[[o]]](xbdbpqo)]])[(([o([([((([b])))])])dq...

output:

oodpqodqpoqqdxqoppdbbdqqqpxobddxqdbxbxobdqdqdqxobpbopqxbxpxbobbpobbqqpoqxqbxodobboqdqbbdxoqdpopqxpoqqxbpxddopddbqpboqdxddoqpddxbxpbddooddbbpbpdobqpqboxpddxppopdxbddxboopqdbdqbxpbdpoqobpbbqddbboqobpboppobdoddqxpqqbpxbdpxxbobqpxbobqdxopqppdbdpppodqbpxqpqqdqppqqbqxbxqqqbqdqxoxpoxoqbxppxxbqqpbodpodoobqx...

result:

ok single line: 'oodpqodqpoqqdxqoppdbbdqqqpxobd...ppdqbxddppddbpqbdpbbqoxxoobpodo'

Test #82:

score: 0
Accepted
time: 14ms
memory: 7804kb

input:

((([(([[[([[(([[([[([[((d)[([(([[dopqodx((xo))]]))])])([obddxqpqooxopbqdpddpobd])](([[(dp)([o])]]))qx])]][((([((d)([[x]]))]([[[[[([qxq((([(dxdb)])))[(pxb)]pb][[o]](bp))]]xdd]][(([(([opq])[q][(do([([qpbo])]bo))])((odxx))[((dqbdqxx[dxpp[[[dp]]]]))][(oqpoxxqbp)]][(([(([qx])([o]dxqoooxddqxbodpbbqoppqxbb...

output:

xbdbxppbpbxdxoddpddbxpdqxqxxpobdobxbboqoxpxddxbodbxqxdqbbpbqdqboqpqdbdxxpbxppxpxbddqqpxboqbodpdxdxdxqbodpdbqobqoqpxxqpdxqdxdoboooxqpobppodqdddpqpobdbqbdxobqppopqddopopxxdobdboqobqdxoodxxqqopbqxdxxdqqxqpooxqdoxqdqqbddpqxdqqqodoopoppxxpdxdpxoqbddpxpxpdddxbqbbqbqdoobbxqxqoqdqpdbbdxxqbbqbpqbbqpqbooodoqq...

result:

ok single line: 'xbdbxppbpbxdxoddpddbxpdqxqxxpo...qpqpdbqpppbqoddbbqxdqoopdqbbpoq'

Test #83:

score: 0
Accepted
time: 14ms
memory: 7904kb

input:

[(([[(([([[qdpdxpbqdbbobpdppdxoopoqpbdbpdxxbb([([[([([px(ddbdbqbxbqpoxxbbdobqxxx)])][(((((pddq))))xx(((db(pqqp))))(([o])))](ppxx)p[bqq][[([[(([(((dp)(q[(bp[[[px]o]]od)]p)[([b])(([([([([([p])])])])]))]))(([(op)(([[(bqx)]]))((([[(pbp)od]])[[obdqopopqoppq]]))])[(p)](((qoo)))[(q)])[([([(([[([[[p((o))]pp...

output:

qxbpxqqqoqoxqqppbdxqqxbxxpqqbpdpboopdoqqbbqoxdpqxqxqdbbbpooqxppxbpbqpdbpboqopooqqxdpdbqqoxbqqbxbdqxqqoddxxpbdopoxppbdxdxxqoxqdpbqdpqbppqxxxpbqboqppxpbxbqppbdqobpqbboppobpbpdbbxxqxoxppoopxodxqdbbxxpqoboxxdbpqddxopqqxqdbqobxoxqdooobbdqqbbodqdxobqpqxxoqbxpooqddoddbxboqoxqxqpxpxqoqxpqooppxoobqxbxxqxdqxx...

result:

ok single line: 'qxbpxqqqoqoxqqppbdxqqxbxxpqqbp...oqpxbbqdqqxdbxbbppqpbpbxqxoobpb'

Test #84:

score: 0
Accepted
time: 10ms
memory: 8024kb

input:

[([([[((([[([((([[([([odqo])])]]([[[xp]]])(d(((((q))))))(o)[[(pq([[dp]]))]]([[(((opddoqqqqqpxpbp([bxxopqqx]))(bd)))]]))))(([[dopd[[xxqd]]]])(q)[(xbp[qp])]d([[[((p))[(((oqqp)))]]]])(((qp[((qb[p]))oqq])(((([[(xb)]])))))))][oxop((([[od([(xp)[o]])((bxbd))]])))[[xqpbpdbxopoqqpbppxoppqdboqpobxqpqoqxxxdpqq...

output:

oqxdqqoobdqpbqodoqpdbxobxqppbboxxooodxxbdpdqxqpdbxqxdoppxbppxdqopxdxppobdpbbbqdpxpbbxpbooqbdoxbbbppdxpppoqqxxoxqoqdbxxxqpqqxdpqqoxbxqopboxxqbpqxbpqobqbqqxxxbpxqddqdqpbxxopqqxdqdxdbbbbboppdopqbddpoqbxpobpoxpdbqbboqqpdbbopxbpdbdqobqxxdqoxobpqxqqxopoxdbpbqpxoboddbpbbxobbdqpodbopxdbdodxxxqbdddpdqdqqxxqq...

result:

ok single line: 'oqxdqqoobdqpbqodoqpdbxobxqppbb...ooqoxdqodxobppxbbdbppxqddqpxdpq'

Test #85:

score: 0
Accepted
time: 14ms
memory: 7788kb

input:

[([[([([[[[(p)]q]]])pp[([[podd[[[(d)]]]]])[([[((b))]]xp)]]([[xqdxq]])[od]([[((ob(q)(bx(dp))))]])po[o]((bddxooqobpqxbdpppx))])([[[[[([([([([d])])]([[dp]]))o[po((xp)(p)xpxb)]([[q]ooqodx[[([[[xxdo]]])]](([[ppd[b][(([xbqx]))]]]))])(dd[[[[[(x)]]xpppxd]]])oqoobqx])]]]([([bdp][[[[(qqdq)]][xb]][qdq]])[[[[dd...

output:

qoxqoboqoqbdopqpxbxdqxpqbxdoodddpobbdbobxpqpooqpdpdoqpxddddpbpdobqqdxodbopdbbdxqqdbxpxpqpbppododxxxdpboqppxbqqpdpdxopdoopppbqdqbxpbxqxopooxdpppdbqpdbbdxoqbxbbqqpqqpxpdxxqxbbqdqbpbdoddboodxbxoooboxdpoqoqdqoxboxpbdopxxxdxpxdbdopppoopdodxpdqddxppxqdopxqbqdqxoodxqbpddpqbqqxdqbxpppdddpopoxoxoppbxqxpxdopq...

result:

ok single line: 'qoxqoboqoqbdopqpxbxdqxpqbxdood...oxxopoxqppqbdobodbqobxxqqdopbox'

Test #86:

score: 0
Accepted
time: 10ms
memory: 7716kb

input:

[((((((([[([[(([(poxxqddooxpqdxoqoqdpqoxxqdpoddpqoopooobdxo)][xdbb([bo[[([(dbddobodddxxdxqxxoxoppqb)])bdpppbqpdbdbxdxbqbp]]])(xx)[[d]][[([pbbp([[p]])])]]]([[[([b])((pxxx))]]][pbdbx])))([[([[(([([[([[[(([([[[[xp]]](([([(dpooq)])]))](pqoxqxdo[bpb][q]))]))]]])]([dxq])])]))]](((([([[([([([(((((([[pd]])p...

output:

oxbdoooqoopqbboqbpxxopqbpopoxbpqxoobbpxxoqxdbbdqbqxpxqpqpdbqdddpqdpqqoxoxxpxbxxbbbodobbdboqxxdbdqqdxdbdqxxxqpdxqpqoxqxdopbpdboodpqxbddbqxqxqoqqpqdpoxdxxpqodbxbboobbxqbqbddbpqoqoboqoodobpqbqbbqqxqbxqbxqbxdopbdpopddoddoodqoqddpbxobopobpqqodqpoqbpxqqodbdqxooppbooopdbxddboxpxdpopoqpdxpodqqqppobbqopxbxdp...

result:

ok single line: 'oxbdoooqoopqbboqbpxxopqbpopoxb...dqxqqddqppbpxbqxobpoxdoxbpdbpbd'

Test #87:

score: 0
Accepted
time: 14ms
memory: 7736kb

input:

[[([[((([[[[[([([d]xo((qob)[(([((((qo)((([qbdoqdoop(oqb)]opobbxqbp)))(([[obdo[((boo))]]]ppbopopqxppobx)(([(([[(((([x])p(dx)d)))]]))][db[dd]]))(qooooqp)(([([([[x]])])](([[xpodbxpqqpqpddoobbxdbodx]]))))))))(([(([d[bp]]))p]))]))])(([(xx)]([(((([(([((q))]))(([xqxdx]))]))))]))((d)))([[([[([[x[((pppd[(([[...

output:

pdxqqbdpxqdxbododxdqqpxbdxppxdooxbbpodxobpxpdppodxxbopxqxbxdbdpppqoxoxbbxqdxodpxddoodddbqqoboddxqbodopdqqobqoxbqodbbpqdodqbdbxpdqbobbdoddqxxbxdbbxqddoxbdpdbbdqqdddooqxdpxodoxoqoqdppddpddpxooxxxoxxpxpqbpbdpoddqpqbodpoobpdxooodbqdxoqopxdpqbbqdqdxqobxbdqopdooqppbdxoqdopddpqbddxqoxbpxqooddoxdbpbxqdpdqbp...

result:

ok single line: 'pdxqqbdpxqdxbododxdqqpxbdxppxd...ppqddbppxxdooxdqpopobopodooqxqo'

Test #88:

score: 0
Accepted
time: 14ms
memory: 8008kb

input:

[[[[[((([((([[((([[[[(([(([([(([([((oo)[(dx)])[(bo[(bb)])((([ppqpbqbpbqbxxpoxdx[(ooxodxdqxdbpdddbqxq)]][oxqbdd[[ppb]]]([[([(((d)))])]]))))]])]))](([((qx)[x])pxqq]))[(xxo)[[[bqopobodqxopqxpbqxopdqdpxbq(bxdbd[(bqp)][(((q)))]x((bx))[dqbb]b)]]]])]))]([[(([[(([[((([xoppqxxoo]p)))((oob))]][([dodpoddodqdod...

output:

xpqbxbxoxbxdbpoxxoqpdqxdxobbxdxxbxqdodddpbqxdqbpxbpddbpbqoboooppdqbppqobxqoqpxqpbdxoxpbxdqdqdpqxdbdbxododxpbqoxpboobobopdodxoppqqpqqoqxqooxpdxdpobbobqoxoxoxxodbpqbpddbbodqdpqxopdbxbdpxqqobodppoboxqpbpqqqqxpdqxbbbpxdqxxodqxxooxbdqpqxodbdddpbbpoqqdqxxdxxdqqxbqddbppbxpqqpbopqxqopqxxoobpoqqbbpbooxbobood...

result:

ok single line: 'xpqbxbxoxbxdbpoxxoqpdqxdxobbxd...bqdbdqqxddopqoxbpbodbpxbqpxxqbp'

Test #89:

score: 0
Accepted
time: 14ms
memory: 7620kb

input:

((((([[[[[[[(([([((([([x])((((([xo])ddbq))))[ddpdxpoxdqxpbpopqbb[(([([[pdqb]qbxd])bxoddoxxpdqd]))]]bbpddppb])))])[[bod][q([[([[o]xxp])]])]qpboqq]((([[(([([[(([(([pp]x))]))]])d]pq)[[dpbqpp]]q[ppbp])]])[([d])]))])[([([[op[qqq]]])])[([([[[[([d])]][[(([([[[[[[[xx]]]]]]((boo))([(xbq)])])])bxodxdqppp)]]]]...

output:

ddqddpqqpdqbxddqpqbboqdbdxxopboddqqbbqddpbpdxxoppoxqbqdpqbxdqqbdodqdxbpxodxpdpppdbbxoxobqqqpqqqpbxboxdbqxoodxxbbpxdddbdxxqodxxpdqpopbpxpxqqqdoodboqpxppddpxooqpxpdpqpbqppddpbxpdddbbbxxodqdqxxobqqdodddbbpbxpbxppooqqbbbdoqbqbpxqpbxpobxxqbdbpbqbdpbdqodxxbdxbpopoqppoqdxodpqoobbbxddxpxqdooqpboxdbqoxppbxbo...

result:

ok single line: 'ddqddpqqpdqbxddqpqbboqdbdxxopb...bdqxxoqbddobxxxxppbxoxpbqbppopd'

Test #90:

score: 0
Accepted
time: 14ms
memory: 7724kb

input:

[[([[[([[[[([[[([[([[[(((pbbb[(po)])(d[p][bood]))(((([[((do))([(opo)])]]))bq)[[[(q)(doobbpbbpbxpdqxppbxxbboqq)]([(oxpppxqppdqoxbodqpdopbpbppqp)])]][xq]))(((qq[[qb]]))[[(((p))qo)][([[(p)]]x[op])][[[(((dp)))x]]]([([o])])[(bx[(d)])]dd])[[[[([[[[([[[([p])]]][[xqpbx[(o)]]])([[[[[[[[(d)](xood)]]]]([dd](qq...

output:

bbboqdoxdpbqqbpbqoodoqqbxqxboooobopxbxxoxqdoqqpbxbdbpoqxbxoddxodxpbqpqqbobqbxqoooxdbopxqdooxdoopdoxdpqxqqodxpxodpqopdoddppxqqdbqpbdxobddxdddxobbxxqpxpqppbqqoodqdoqpxbqdqdpbbxdxqdoppoxpopoxoodpbqxbopqqoddqqbopopoddpxdxbpooxoboxdbpqdbpxpppxdpqxpdpxqoxoqddpbdxxddxbopxqpbqdooqqoddbxqbddxdbpdbpoqbppppdqp...

result:

ok single line: 'bbboqdoxdpbqqbpbqoodoqqbxqxboo...xppbpxxobdxoopbxxoqqdopdodbopox'

Test #91:

score: 0
Accepted
time: 7ms
memory: 7676kb

input:

([[(([[[([[([oxqdppdxoboqobdbbpbppdoxpxqqdpdqpqxoxxpboxoxbxpqqpxdxqbbdb(((([[b]])))(((([[(([(((((((([[bbpx([p(op)])](([([bqoddbxbqxbdddddpqxopqxppoxbdb])]))[op]])))(opopqdxdqxdbxdqoqpdqpxoxdxpdppqboopbxpppppdqdxpbbpbbdbpbobxpodxoqppbxbqobqdddqooxpqqppbopqqodqqbqppxpp))))))]([[[dp]][([(d)])](pqbbdbbo...

output:

dxbbqxodxbxbxopbdxqdobdoobxoqpdbbxobodbdqdoobpxpxddbqxxxqbqdbdbxpxoopbodddpdppxxxdbbpdpobbpdpxqpodbqpopopdobpqobqxdxqpoodxopbxdxxdpppxqqdopbqodopoqqqqpxqqpdqopxpdboxqxqpoopobdpodppbdbqqppdbxbbxppqqpoppdqpbbopxppqdddbxqbpqobdboxddbpdqddqpbopbxbbopodqooxxoxbqddxbqxpqxpdxddxdoqpqdqqxbpdbxbdopqpbdpdpdxb...

result:

ok single line: 'dxbbqxodxbxbxopbdxqdobdoobxoqp...xqpdpxbdxdbxpooxpbbxxqbxpoxxpdx'

Test #92:

score: 0
Accepted
time: 14ms
memory: 7776kb

input:

([((([([(([[(([(([dx]))]))](pb)[x]]([[[[[p]]]]])))])])))[[[[bd[obqd]](xqqoqdqopdqqdqdoppqqqqbqdbdqxxpbpboddqbdxpqqdxxbqbqpqobppxoodoodqxoqdopbbxxxbqqxpbobbppodbbbdqqdbdobxxoqdbpbpqxqbqbxdxbxqdqxxxqpqppoobpoqqbopxdxpxqpqqxbdpppxoxoddoqbbdqddbxxbxxoodooxxbobbqbxbxbpxobdodpqdqxpdbxpqqxpdxppdpqpoqqbpdpb...

output:

dobbxqqbbxbboobxdqxddxdpqpppxpdxxddxbxdqpxqbdpdbxbpxodbobxqqpxqdpqxbdxxppxopxpxdxdoqqpdbqopdoxdbbxqpqpbxpqppqdpxxbdxqxdqqbpdbbbqdxddddxqoqooqbxopxobodooxbdxqdpxoxoqpopxdqdpdoxoqpddxopooqodxdqpxqbdqdpqoxqpqoqqoqqbqqpbxqbxoqxqxxqqppbppxdqxbqdpxbxobobqoddoooxoppoddxbbxbdoqxoxbpoqxxdppqpdxdbqxxodxxbdqbq...

result:

ok single line: 'dobbxqqbbxbboobxdqxddxdpqpppxp...oqqbxpqpbxqxpbxboqpbpdopqpxpbxp'

Test #93:

score: 0
Accepted
time: 14ms
memory: 7752kb

input:

([(([(([([(([([((([((([((([[[([((([(([[bqbboqqdbd]([bb([[(oq)]])][([([[(([[xdbp]]))[dpd(po)[[dd]]]]][dqxppqqqoopqdpqdxoddx][[[[((pop)(xd(b)))]]]])])](b))([([((([([[[[(pddq)]](([((dx))]))([([[[[[[(od[xpop])boob][q(bd)[(o)][(bdp)do]]]]]]]((o)))pd])]])])[(([([xqb((bqd))])]))([[[db]]])]))]([(([q]bdxx))]...

output:

xoqxqdppopdoqqbdxdpqdooppoqdqdpqqqqdpbqpqodqbbqobodxdbxxobxxqxpxxxqboxbqqdpdpqbxqxqopqbdqbxpdbqqxdbpobpxbqpbdbdxdodpbpqbqdbxxxqppqoqbppqdpobdoodddxqqxqoqopddpoddxqdqqxdpobdqppoqdoddbqqdxpopobdbdxdbqxqpbdbpqoodxqoqdxbqodxpxoxbdxodqxdqboqdxxbodpbbqqxdqbdopbxxqbdbxdpbxpbbbpbpdqoxbddodqxoqodoqpqboqdxqdp...

result:

ok single line: 'xoqxqdppopdoqqbdxdpqdooppoqdqd...pppbxpbodoxqxoodpodpxxoqdxoqobp'

Test #94:

score: 0
Accepted
time: 16ms
memory: 7752kb

input:

([[[[([([[((([((([((([[[[[(([[((([[[[((((d)[[([(((([(([[[(p(((qqbxdp)))[[bopp]])]]([b])]))]))))xbxppqdxbqobxqqqodxdpdppddqxxdxxpddqpbxoobqbxpbbxxpdpppdqxqoxbobqpxppqxqooopqdpxoobxbqqbxqbpbbqdoqxbqdqqddodxqdqqopobodxbbbdbpooxqbobdxboqbxqoqxpbpdqqqpqqbqdxxbqpxqpdpopxxbodbodxpxbq])]])))]]]]))(([[[(([bb...

output:

ppxbxdbqpxqxxdddqbqoqddppxqdqqdxdboxdqopqxdoopxpboooqoppbpxopppqbqdpxpqxoqqpxxdppdxxqbxbxoxbqdoqoxxppoxqpdpxqqpqxdoqqqdbpoppdoxxpbqbpqxdqdoqqbqbboxbdxobxoxbxbxbxpddopqoxqdbqpbdopxboxqddbppxqqpobpodqqpoqdqdbxqobxxdbqppoqdxxopqoxobbqoopdpqxdbpqdooqpppbbpbdpxbbbdbdbqbpbxodqbppqxpoqpxxoxxdqpobpopodoooxb...

result:

ok single line: 'ppxbxdbqpxqxxdddqbqoqddppxqdqq...dboxdpodqbbdbqqpobdxdqqoxodqpxx'

Test #95:

score: 0
Accepted
time: 14ms
memory: 7768kb

input:

[[([[(([[[([[(db)(b)(dp(q))]])([qx])]](dpopqxbooqdo)([[[[[((qxqboqpoppoqbqppqppqboqoqbqbpboxbopbxpodqxdbqdqppoodxdqoxoooxddxbdqqoqdqbobqoq[[[(dxp)]do]]q([((([((obp))])))[(([(bpqp)]))]])([(o([(([(b([[bodqdpoxp]])x)](((p)))))]))])))]]([qd])([bx((boqdbbox))])]]])]([([[[[[((([[((([[(([[[[((((qx)))(((do(...

output:

boxdppopodqbbqpoxoopbdoqqoppdobbdoxpqbopdxqdodoqxobxodqodpdqqdobdodqoxooopbopdoqxbbxqbqddqbobbdxqooxpxpooqoxpxbqdqxopxbxpdpdoqpqxbxddqdxqdpppddbdxdoxqdqqooxxbxqxboodopqxqxqobddxbbdxoqxbxxdpdxpoqdpoddxbxopqooxxododbdoxxxopoqpdddbddoxpxqqppxbopboboqdoboqoddpoddxxqdoxqqpdbqqdopxooqpbbxdbbbobbbqdbdqoddq...

result:

ok single line: 'boxdppopodqbbqpoxoopbdoqqoppdo...qqbbqbxqpxpdxqbxdbqpbpobbqoxdoo'

Test #96:

score: 0
Accepted
time: 9ms
memory: 7760kb

input:

[[((([[(([([((x[((([(([((([([[po(d)]])]([b]([((x)[((q))]([po]))]))(([qp]qxo[(bd)]([(([(((bq)))])((([[[pp]od]])))(([[[[([dx])]]([qbx])]]p)))ox([[d]])p]oqd))pq[b]xx)([(q)qoqp([[[[x[(bo)]bqd[oo]]]]([(bxdp)])([[dbd][((xx))]])])])x([(bbx)])qd)))]))])))]q([[[x]]])([((x))])))][odopbxdddpbdbqpdxboppoddxpbdq...

output:

qqbxqxbdodpqqoodbxpxboopxpdqxxpqpbpqdodqqxdpqpoqbxxdppoqqdbopqqqqdqxoqbqoxbpqoqqxobboxbpxbpxopbbopdxpdqxpqoxdbbxqbbdppdppbxdpoqoxodqppxbdpdqxdoqbobxdxxdbdqpdxobdpboqdxopdboddxpxqbpxoqbqdoobxdpxxpqpqpopqxbbxdqqxxodopbxdddpbdbqpdxboppoddxpbdqbxbqoxxoxdqxboxbdododbdppdxoopoddqqpqbdoqbbqxbdobxbbqxpqodxb...

result:

ok single line: 'qqbxqxbdodpqqoodbxpxboopxpdqxx...ddpopxpdxppdbpdoddpqobooqxbqpob'

Test #97:

score: 0
Accepted
time: 11ms
memory: 7736kb

input:

[[[(((((((([([[(([([bbxo])xo]))][([(([(xob)[bq]]))[([xxpbopqpqoxpbpqo])]])[((([[p(((d)))]]bxbb[[[((([(pobpdpo)])))]]])([[([([[[(([qo[[p]]]))]]])])[[([(pq)][[[poqx]]]p)[b]]]]])))]]])])(([[(o)([[[(((x)))][oo]]])]([((qq))])([([[[[[[dboxopdxbdopxx]][[xdpbp[po]]]]x(([bqbxp])[[(d)]])]]]bd)](([[([([pd])])]...

output:

obqbpdxxdpdpdxxqopoopdxopqxoxxpdpdqppxpxbbxpoxxxqbxpbdbpxpdpdoqxdqbxpxdxoxppbxobqxpqbqbppxbqpoxbbxxdpboqpoqpbobbbbbpobopoxopxdqbbxbdqbbxpoboxpbdpdbodppoqbdxdxxoxxboddodbqqxqdppdbddobdodpqooxqpoqoppopxxppxpqqqbdxodpobobopdoooxbxxqxpxdppxoxdddpqpodbxdbqodqpdxqxbbpoqodxboqboqqxpoxoobbxbboddbqbxxpoddqpb...

result:

ok single line: 'obqbpdxxdpdpdxxqopoopdxopqxoxx...dboppooopdopbxqpxxqdxxbbqpxbbqq'

Test #98:

score: 0
Accepted
time: 9ms
memory: 7736kb

input:

[([[[[(([[([[[([qpbpbbqdbbpdpqxppdd])]]])]]([(([[(oxbpxodd)][q]]))]([bqqb])dpxxxx([((([([[(((([[([[[(qx(qdp))]]])(p)][((((([[op]d])[((ob))]p((([[((x))((xqdbbqboxbpppooqpdpxdp))[[((([[oxb]][[(xqdb)]])(dd(o)[p])[[((((o((([(q)]))))(q))))]])[[dxpox[((qp))q]]][[[qxpqqoqooqxopb(dqoqo)]]([[b]])])]]]]))))))...

output:

dqbppopqbpobbpxpxqpqqpdqdpqbpxpooqbbqqxpooxbdxopdpboopxqbbxxqodppqxbxxooxobddxqbpqqxopdqqddopbdqxpbqpppboqopdqdqpooopddoxobqbpbbqdpxdoppxpdpxdqxxopxxoqxpdxobdqqxoxppxxpooobpxqbpoboxbpoqodddddxxxpdbxbdxodpqpbdqbboobxddqqopxoppboxbpopdqpqdxbqpqpoxxqxpqbppbbpdqppppbdqpdqppqobqxqodpqqqqxqdbobxpbpqxopppo...

result:

ok single line: 'dqbppopqbpobbpxpxqpqqpdqdpqbpx...bddbpxpoqpoqppddxbdpdqqpbqqdqdb'

Test #99:

score: 0
Accepted
time: 14ms
memory: 7948kb

input:

([(([[[[(((((xbqxp((((bb)[(([([(([(([[[ox](bp)]]))([([bq])])([ddxobb]([d](dqqp(ox))(([xbp]))))]))])]))[[([(dp)])]((pxxqq))]]))[xq])))([(([[[(([q]))]]]([(boxox)[[[([[(qpp)x]([(((ob)))])])]]]([[q]])])([[((((((qpbd)[[[[(qp)]]][o]]))[((dq))[[doo]]]))([ob(x)][qq((qo))]))]])))]))))([[[((xobpqpdxxdb[x])([[...

output:

popxoqbdbdqobbxoqbqpxqqooxbbbxxbboqddxpobxodxqxdoqddoqqqdqpdpqdqqqpqpqdobodxbqbbbdxddpxbbdxddooqqbqbxbodoxxqqqqpdxpbqqxqdbpopdqbbbobdxdqdobxpxpqxpoobbqdpbxpqopxodxqbxdbqxdqobdqddbqqdoqdqbbddqpxxpqppqpxbqbxobpxbbxpqpobxooxxxbqdqqdppopbpopbbodqbqddbopxdbpppdbpqpdxdqdpqqqpdxdbpqxodxpbopbbqpxbbodopbpbob...

result:

ok single line: 'popxoqbdbdqobbxoqbqpxqqooxbbbx...pxdddooopbpoqpqpbdxoxoqdoxqppbp'

Test #100:

score: 0
Accepted
time: 11ms
memory: 7760kb

input:

(((([([([[[[[[([[([([bpb][(b)](([(([([([[[(q)]]([bdbb])(q)([((([pq])(d))bdd)]bbbqdppppqq)])])]))])))])]][[[([qqb]p)]]])]][([[([[[[p]((dqq)dpbpbq)(p)]][[[[[[[([[qbddpdbd](pbb(q))])]]]]]]]])(([[(pd(([([(b)])])))]]([[(((([[([((d))][([qq]qq(([[((ppq)[p])]]b)))])]]bd))))]])))]])]pd([[([(([(bbqdppd)(pddqq...

output:

dpppqbbqpbqpbpppppdbqqqbbdbqpdqbdbbpbpdqpbpddqbbqbqpdbdpbqbbqqqdpbqpdddbqdqbdqqqdbbdddpbpbpdbppddbbqdpqdqqdqdqqdbddbdqbddpqpqpqdpdpbbqpqdbdbpqbbddqddbqddbddqddpqbddbdddbqbpqpbqbpdqqpppbdpdddpqddpqdbqbbpppbbqqbqqqqbdqpqbpbqpdpdqppppqdpqpdqbpdbdbqdqqqbbpbbdbbbqpqbqdpdqddpqpqpqdpbbddbppqdddqqddbdqddbpd...

result:

ok single line: 'dpppqbbqpbqpbpppppdbqqqbbdbqpd...pqpqppdppdbbbdbpqbbpbqpbbqdbbpp'

Test #101:

score: 0
Accepted
time: 15ms
memory: 8032kb

input:

[[[[[[[[([([([([([(([[([b[ppb]b(pb)])]]))])([(d)]bq)[(bdb)]])])qb[([(qpqdd)])]b[((([[([([(([[[((([[[[p][([(bb)])]]((p))]])))]]]([[qbbdbbpq]])[(bbdpbqpb)][(b)]([(dqqdp)](([qbdp])))))])])]])([([([[ppqppqbqpd][([[[qq[(qq)[q][ddd]]]]][[dp(bppb)]])]])][([(([[(([p(ddp)]))]]))ppdpbqqddpqppqqp])](((((([(([(...

output:

pbbqbqbdqpdbppddddqbbbpppbqqqqbqpdbdbqppdqqdppbdqdqpqqbbbpqbdpbbqqdqpqqqdppbqdqpqpbbbbbbpbdqpdqqpqqbqpqddbqbppbqbdpbbbdpbqpbdppqppbdppppqqbbqdddqbqddqpdbqbddbddqppqqpqbbppdqbqqqqbdpdbpqqpqbdbqqdddqpbbbbpdqpbbqdpddbqbqqdqbqpdpqppqppbqpqdddbqdbdbbpbppqqbqpdqqbppbqbppppdqqqpqdddbbdddbbpqqpqbbbdbqppbppp...

result:

ok single line: 'pbbqbqbdqpdbppddddqbbbpppbqqqq...dpdpbpdbbpdpbqbdddqdqqbqdbqpbqq'

Test #102:

score: 0
Accepted
time: 14ms
memory: 7768kb

input:

(([[[([[[([[(([([[[qb]]]bbqpbbpdqp)([[[[pppp]]]])((([[(((dq[(([[[p]]]))])))][([[((bq[((((bd))))bq]((q))))]][b])][([[[(qp)d([pbpbdp][[(([qqddb]))]][[[bp]][(qqbpqqqdqdq)]]bqpb)]]bqbb[(qpq[(([([([([ppqq])])])]))])][(([pp](([((qqbppbpbdpdq))[([[[(qd)]][ppdbq(b)db][[(pqq(([(q)])))(((dd)))]q]])]]))dbbpbqp...

output:

ddbbbbbqbbpddqpqqqdbppqbpqdpqbqbbppqdbppqppbqppdqdqdddbpbpqppqbdpqdqdbppqbpbpqqqqqqqpdbbdbqdbqqpppbbdbdqpdbbddbdbdbbbbpppqpbddpdpqddpqbddqpbqqqqpqqqpqdpbppbbqqbbbqbqdqqpdbbbbqddppppbqbbqddbbbdbqqqbdqddbpqdqddbbdddpqbqppqdpqpqbbddqbppqbddpqdqqdqqqpbpbppbdqdqbdqppqqpdbdqpdbpbqppbqpbdqppdpppqbpbqbddbqd...

result:

ok single line: 'ddbbbbbqbbpddqpqqqdbppqbpqdpqb...qqpbqpqpdbdqdqpqdppbdqdqqddqdpb'