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