#define Q strcpy
#define F(x)bcopy(b,f,p-b);f[p-b-x]=!Q(r,p);
#define C(x,y)Q(S[s-x],S[s-y]);
#define N[9999]
#define A Q(S[s++]
#define D sprintf(S[s++],"%d"
#define G(x)}if(*f==x){
#define H(x)G(x)s--;
#define R return
#define Z(x)T(t,u,v)-1||putchar(x);H(
char S N N
;s
;c
;T
(b
,f
,r
)char*b
,*f
,*r
;{char*p
;strtol(b
+=strspn(b
," "),&p
,0);if(p
>b
){F
(0)R
1;}if(c
=*b
==40){for(p
=++b
;c
;)c
+=(*p
==40)-(*p
++==41);F
(1)R
-1;}p
++;F
(0)*r
*=!!*b
;R
0;}*P
(char*p
){if(*p
==34)R
++p
;char*r
=P
(p
+1);D
,*p
);R r
;}E
(char*x
){char*p
,c N
,f N
,r N
,t N
,u N
,v N
;for(Q
(c
,x
);*c
;Q
(c
,p
)){Q
(t
,S
[s
-1]);if(T
(c
,f
,p
=r
))A
,f
);else{{G
(64)C
(0,1)C
(1,2)C
(2,3)C
(3,0)G
(35)A
,t
);G
(36)C
(0,2)C
(2,1)C
(1,0)H
(37)H
(47)T
(t
,u
,v
);*v
&&A
,v
);A
,u
);H
(46)strcat(strcat(S
[s
-1]," "),t
);H
(43)D
,atoi(t
)+1);H
(45)D
,atoi(t
)-1);G
(60)D
,getchar());H
(62)Z
(atoi(u
))99)Z
(*u
)119)for(Q
(u
,t
);atoi(S
[s
-1]);)E
(u
);G
(34)p
=P
(p
);}}}}
main(){E("0 10 \"Hi!\" (>)w");}
I2RlZmluZSBRIHN0cmNweQojZGVmaW5lIEYoeCliY29weShiLGYscC1iKTtmW3AtYi14XT0hUShyLHApOwojZGVmaW5lIEMoeCx5KVEoU1tzLXhdLFNbcy15XSk7CiNkZWZpbmUgTls5OTk5XQojZGVmaW5lIEEgUShTW3MrK10KI2RlZmluZSBEIHNwcmludGYoU1tzKytdLCIlZCIKI2RlZmluZSBHKHgpfWlmKCpmPT14KXsKI2RlZmluZSBIKHgpRyh4KXMtLTsKI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