#define R return
#define C ;break;case
c[999]={};*P=c;*S[28];M[99999]={};t;*T;
u(s,v){S[s]+=28;*S[s]=v;
if(s>26){for(t=v/10;t;t/=10)S[s]+=28;T=S[s];do{*T=48+v%10;T-=28;}while(v/=10);}}
o(s){t=S[s]-M>27;S[s]-=28*t;R S[s][28]*t;}
I(s){R s<65?27:s-97;}
O
(int*p
){if(!isdigit(*p
))R o
(I
(*p
));
main(i,a){for(i=0;i<28;++i)S[i]=M+i;
for(;;){i=I(P[-1]);switch(*P++){
case 35:for(;*P++!=10;)
C'<':u(i,O(P))
C'>':u(I(*P),O(P-2))
C'+':u(i,*S[i]+O(P))
C'-':u(i,*S[i]-O(P))
C'?':if(!*S[i])S[i]=M+i
C'(':for(i=1,T=P;i;++T)i+=(*T==40)-(*T==41);if(S[I(*P)]-M<28)P=T;else u(26,P-c)
C')':P=c+o(26)-1
C
-1:for(;i
=o
(14);)putchar(i
); R
0;}}}
I2RlZmluZSBSIHJldHVybgojZGVmaW5lIEMgO2JyZWFrO2Nhc2UKY1s5OTldPXt9OypQPWM7KlNbMjhdO01bOTk5OTldPXt9O3Q7KlQ7CnUocyx2KXtTW3NdKz0yODsqU1tzXT12OwppZihzPjI2KXtmb3IodD12LzEwO3Q7dC89MTApU1tzXSs9Mjg7VD1TW3NdO2RveypUPTQ4K3YlMTA7VC09Mjg7fXdoaWxlKHYvPTEwKTt9fQpvKHMpe3Q9U1tzXS1NPjI3O1Nbc10tPTI4KnQ7UiBTW3NdWzI4XSp0O30KSShzKXtSIHM8NjU/Mjc6cy05Nzt9Ck8oaW50KnApe2lmKCFpc2RpZ2l0KCpwKSlSIG8oSSgqcCkpOwpmb3IoO2lzZGlnaXQocFstMV0pOy0tcCk7Zm9yKHQ9MDtpc2RpZ2l0KCpwKTt0Kj0xMCx0Kz0qcCsrLTQ4KTtSIHQ7fQoKbWFpbihpLGEpe2ZvcihpPTA7aTwyODsrK2kpU1tpXT1NK2k7CmZvcig7figqKytQPWdldGNoYXIoKSk7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