-- protected by osguri
local d=string.byte;local i=string.char;local c=string.sub;local h=table.concat;local s=math.ldexp;local N=getfenv or function()return _ENV end;local l=setmetatable;local B=select;local f=table.unpack;local r=tonumber;local function u(d)local e,n,t="","",{}local a=256;local o={}for l=0,a-1 do o[l]=i(l)end;local l=1;local function f()local e=r(c(d,l,l),36)l=l+1;local n=r(c(d,l,l+e-1),36)l=l+e;return n end;e=i(f())t[1]=e;while l<#d do local l=f()if o[l]then n=o[l]else n=e..c(e,1,1)end;o[a]=e..c(n,1,1)t[#t+1],e,a=n,n,a+1 end;return table.concat(t)end;local a=u('23423627527623623H2761V23E23M23X23A23E2751U23E22A23622O27G2361I27622O2761N22Y27D22O22Y27H22Y27K27W2751T23E21E27L27G26Q1O27623027528827U23X23027X26Q1U2361Y23623527628327521S28728927528B23628823627D28V28I2772761U22Q27523E2952361Q27N23729B23B27723A27A1J161Q23629G2751K1V1T1M28N29223M22529S29228M23Y26323N24G21R1G1Y22527723D2761R27C23X23G27N1P27N28R28W28T2362901O22I28Z22I28W29K2752322A922Q27D23C2982AR27L2A928E28129927Q2A922A27V27K29929B27N29L27723I276111N10142BI1X1H101R121628M276141W28L2392761K1H1U1R1N1S2BR29M2361K171S1H2BC1R28Y23X2742752AA27D22Q27N29A27522W27N1R2AV23X22Q2981R28E23G27X23627B27D2342CL2CT23622Z2AY2BB27629W2362BX2752C31117101N1K2362BF2752BH2BJ2BL2BN2BP2BR2DL23621D2DH29I1N2121Q2DW1M');local o=bit and bit.bxor or function(l,n)local e,o=1,0 while l>0 and n>0 do local a,c=l%2,n%2 if a~=c then o=o+e end l,n,e=(l-a)/2,(n-c)/2,e*2 end if l<n then l=n end while l>0 do local n=l%2 if n>0 then o=o+e end l,e=(l-n)/2,e*2 end return o end local function e(n,l,e)if e then local l=(n/2^(l-1))%2^((e-1)-(l-1)+1);return l-l%1;else local l=2^(l-1);return(n%(l+l)>=l)and 1 or 0;end;end;local l=1;local function n()local c,a,n,e=d(a,l,l+3);c=o(c,114)a=o(a,114)n=o(n,114)e=o(e,114)l=l+4;return(e*16777216)+(n*65536)+(a*256)+c;end;local function t()local e=o(d(a,l,l),114);l=l+1;return e;end;local function A()local l=n();local n=n();local c=1;local o=(e(n,1,20)*(2^32))+l;local l=e(n,21,31);local e=((-1)^e(n,32));if(l==0)then if(o==0)then return e*0;else l=1;c=0;end;elseif(l==2047)then return(o==0)and(e*(1/0))or(e*(0/0));end;return s(e,l-1023)*(c+(o/(2^52)));end;local r=n;local function s(e)local n;if(not e)then e=r();if(e==0)then return'';end;end;n=c(a,l,l+e-1);l=l+e;local e={}for l=1,#n do e[l]=i(o(d(c(n,l,l)),114))end return h(e);end;local l=n;local function i(...)return{...},B('#',...)end local function u()local d={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};local l={0,0};local c={};local a={d,nil,l,nil,c};for e=1,n()do l[e-1]=u();end;for a=1,n()do local c=o(n(),104);local n=o(n(),18);local o=e(c,1,2);local l=e(n,1,11);local l={l,e(c,3,11),nil,nil,n};if(o==0)then l[3]=e(c,12,20);l[5]=e(c,21,29);elseif(o==1)then l[3]=e(n,12,33);elseif(o==2)then l[3]=e(n,12,32)-1048575;elseif(o==3)then l[3]=e(n,12,32)-1048575;l[5]=e(c,21,29);end;d[a]=l;end;a[4]=t();local l=n()local n={0,0,0,0,0};for o=1,l do local e=t();local l;if(e==2)then l=(t()~=0);elseif(e==3)then l=A();if math.fmod(l,1)==0 then l=math.floor(l)end elseif(e==0)then l=s();end;n[o]=l;end;a[2]=n return a;end;local function h(l,e,t)local e=l[1];local n=l[2];local o=l[3];local l=l[4];return function(...)local a=e;local c=n;local s=o;local o=l;local l=i local n=1;local r=-1;local u={};local i={...};local d=B('#',...)-1;local l={};local e={};for l=0,d do if(l>=o)then u[l-o]=i[l+1];else e[l]=i[l+1];end;end;local l=d-o+1 local l;local o;while true do l=a[n];o=l[1];if o<=16 then if o<=7 then if o<=3 then if o<=1 then if o>0 then local o=l[2];local a={};local n=0;local c=o+l[3]-1;for l=o+1,c do n=n+1;a[n]=e[l];end;local c={e[o](f(a,1,c-o))};local l=o+l[5]-2;n=0;for l=o,l do n=n+1;e[l]=c[n];end;r=l;else e[l[2]]={};end;elseif o==2 then t[c[l[3]]]=e[l[2]];else if(e[l[2]]~=c[l[5]])then n=n+1;else n=n+l[3];end;end;elseif o<=5 then if o==4 then local n=l[2];local c=n+l[3]-2;local o={};local l=0;for n=n,c do l=l+1;o[l]=e[n];end;do return f(o,1,l)end;else e[l[2]]=h(s[l[3]],nil,t);end;elseif o>6 then e[l[2]]=c[l[3]];else t[c[l[3]]]=e[l[2]];end;elseif o<=11 then if o<=9 then if o>8 then local o=l[2];local a={};local n=0;local c=o+l[3]-1;for l=o+1,c do n=n+1;a[n]=e[l];end;local c={e[o](f(a,1,c-o))};local l=o+l[5]-2;n=0;for l=o,l do n=n+1;e[l]=c[n];end;r=l;else e[l[2]]=(l[3]~=0);end;elseif o>10 then local n=l[2];local c={};local o=0;local l=n+l[3]-1;for l=n+1,l do o=o+1;c[o]=e[l];end;e[n](f(c,1,l-n));r=n;else if(e[l[2]]~=c[l[5]])then n=n+1;else n=n+l[3];end;end;elseif o<=13 then if o>12 then e[l[2]]=e[l[3]];else n=n+l[3];end;elseif o<=14 then e[l[2]]={};elseif o==15 then e[l[2]]=c[l[3]];else e[l[2]]=h(s[l[3]],nil,t);end;elseif o<=24 then if o<=20 then if o<=18 then if o==17 then e[l[2]]=e[l[3]]+c[l[5]];else e[l[2]]=e[l[3]];end;elseif o>19 then e[l[2]]=(l[3]~=0);else do return end;end;elseif o<=22 then if o>21 then local s;local i;local o;local h;local d;e[l[2]]=t[c[l[3]]];n=n+1;l=a[n];e[l[2]]=e[l[3]][c[l[5]]];n=n+1;l=a[n];e[l[2]]=e[l[3]];n=n+1;l=a[n];e[l[2]]=c[l[3]];n=n+1;l=a[n];d=l[2];h={};o=0;i=d+l[3]-1;for l=d+1,i do o=o+1;h[o]=e[l];end;s={e[d](f(h,1,i-d))};i=d+l[5]-2;o=0;for l=d,i do o=o+1;e[l]=s[o];end;r=i;n=n+1;l=a[n];if(e[l[2]]~=c[l[5]])then n=n+1;else n=n+l[3];end;else n=n+l[3];end;elseif o==23 then e[l[2]]=e[l[3]][c[l[5]]];else t[c[l[3]]]=e[l[2]];n=n+1;l=a[n];e[l[2]]={};n=n+1;l=a[n];t[c[l[3]]]=e[l[2]];n=n+1;l=a[n];e[l[2]]={};n=n+1;l=a[n];t[c[l[3]]]=e[l[2]];end;elseif o<=28 then if o<=26 then if o==25 then e[l[2]]=e[l[3]]+c[l[5]];else local o=l[2];local c=o+l[3]-2;local n={};local l=0;for o=o,c do l=l+1;n[l]=e[o];end;do return f(n,1,l)end;end;elseif o>27 then e[l[2]]=t[c[l[3]]];else e[l[2]]=t[c[l[3]]];end;elseif o<=30 then if o==29 then e[l[2]]=e[l[3]][c[l[5]]];else do return end;end;elseif o<=31 then local n=l[2];local c={};local o=0;local l=n+l[3]-1;for l=n+1,l do o=o+1;c[o]=e[l];end;e[n](f(c,1,l-n));r=n;elseif o==32 then if e[l[2]]then n=n+1;else n=n+l[3];end;else if e[l[2]]then n=n+1;else n=n+l[3];end;end;n=n+1;end;end;end;return h(u(),{},N())();