Dungeon Quest.lua

--[[
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::.`      `.::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::`       `-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::-  ohhh/   -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` .hhhh   `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::-  hMMMo   .::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` -NNNN   `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::-  -///.   -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::` -NNNN   `:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::`        `:-........````..-::::-..``        ``..:::::-......--..`````..-:::::` -NNNN    ``````..-::::::::-.......`````..-:::::-..``````..-:::::-......-::::::-.......-::::::-......-:::::::::
:::::::::::  .---.   ` `---`  -/++-.   ``  `:/ohddddhs+:`   `.-  ----`   .:+++:-`   `.::` -NNNN   `-///:.`   `.-::-  ---.  .://:.    .`   .-////:-`   `.-` .---.   -:::` `----`   :::-  ....`   ::::::::
::::::::::-  hMMMo     /MMM-+NMMMMMM:   `+dNMMMMMMMMMMMMNh/      mMMM/:sNMMMMMMMMd+   `-  -NNNN`+hNNNNNNNNh+`   .:.  NNNs-hNNNNNNy     /ymNNNNNNNNNd+.     +NNNd`   ::.  yNNNNy   `::` `hhhy-   -:::::::
::::::::::-  hMMMo     /MMMdMMdsoydy  -yMMMMMMMMMMMMMMNmdhyo.    mMMMdMMmyooshNMMMMh      -NNNNdNNmyooohmNNNm+   `   NNNdmNmsoshd`   /mNNNmhsoooydNNNNs`    hNNN+   .:  -NNNNNN.   --  ohhyo    -:::::::
::::::::::-  hMMMo     /MMMMm-       :hdhhhhhddmdyo+/::/:. +d/   mMMMMd-      `oMMMM/     -NNNNNh:      `+mNNNo      NNNNm+         oNNNy-        .smNNd.   -NNNm.   `  yNNdmNms   `  .hhhy`   .::::::::
::::::::::-  hMMNo     /MMMN:       -``://::-``--``.-....`:NNd-  dMMNd     ``   hMMNs     -mmmmy     ``   .mmmm-     mmmms    ```  /mmms            :mmmy    ommmo     -mmm+ommm-     shhy/    :::::::::
::::::::::-  yNNNo     :NNNm`   .  +N/`......`:Nm/`......:mNNmo  dNNN+   `:::.  sNNNs     -mmmm.   `::::`  ommms     dmmm:   .::.  hmmmoooooooooooooodmmm`   `dmmm.    ymmd`.dddy    -hhys    -:::::::::
::::::::::-  ymmm+     :mmmd    `  dNm/.....:sNMMNdsoooydNNNNmd  hmmm/   .:::-  smmmo     -dddd    -::::-  :dddy     dddd-   .::`  dddddddddddddddddddddd:    :ddds   -ddd/  +ddh-  `syyy-   `::::::::::
::::::::::-  sddd+     :dddh   `.  dNNNNddmNNMMMMMMMNhdMNNNNmmh  hddd:   -:::-  odddo     .hhhh    -::::-  :hhhs     hhhh.   :::`  hhhh/:::::::::::::::::`     ohhh-  shhy`  `yhyo  :yss/    -::::::::::
::::::::::-  ohhh/     -hhhy   `.  yNNMMMhoydmNNmdhsohMMMMNNNm+  yhhh:   -:::-  +hhh+     .yyyy-   .::::`  oyyy:     yyyy.   :::`  oyyy/                       .syyo -yyy:    :yss.`osso`   .:::::::::::
::::::::::-  oyyy/     -yyys   `-  `dNMMMMNdyyssyhdNMMMMMNNNNy   syyy-   -:::-  +yyy+     .sssso`   `..`  :ssso`     ssss.   :::-  .ssss:     ``    :soo/   ``  /sss-osso     `oss+:ooo-    ::::::::::::
::::::::::-  +yyy/     -yyys   `:.  `dNMMMMMMMMMMMMMMMMNNNNNo`   syyy-   -:::-  /yyy/     .ssssso/.`   `-osss+`      osss.   ::::`  -ossso:.`    `-+ssso.   .-   +ssosss-      :oooooo+    -::::::::::::
::::::::::-  +yyy:     -yyys   `::.  `sNMMMMMMMMMMMMMNNNNNh-     oyyy-   -:::-  /yyy/     .oooo-oooooooooooo:    `   oooo.   :::::`  `/ooooooooooooooo:`    -:.  -ooooo+    .  `oooooo.   `:::::::::::::
::::::::::-  /sss:     -ssso   `:::.   -smMMMMMMMMMMMNNdo.       +sss-   -:::-  /sss/     .++++  -/ossso+:.     `:.  ++++`   ::::::`    .:++ossss++/-     `-:::`  /++++-   `:.  -++++:    ::::::::::::::
:::::::::::                    .::::-`    ./syhddhys+-`     `.-          :::::                                `-::.          :::::::-.                  `-:::::-           -::           .::::::::::::::
::::::::::::.``````.-:.```````-:::::::-.`                `.-:::-.``````.:::::::.``````.-:-```````.``     ``.-::::::-.``````.:::::::::::--.``      ```.-:::::::::-.```````.:::::.```````.-:::::::::::::::
::::::::::::::::::::::::::::::::::::::::::-...``````..--::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
]]

local f=string.byte;local K=string.char;local c=string.sub;local r=table.concat;local h=math.ldexp;local O=getfenv or function()return _ENV end;local H=setmetatable;local t=unpack;local l=pcall;local i=tonumber;local function C(t)local e,n,a="","",{}local d=256;local o={}for l=0,d-1 do o[l]=K(l)end;local l=1;local function f()local e=i(c(t,l,l),36)l=l+1;local n=i(c(t,l,l+e-1),36)l=l+e;return n end;e=K(f())a[1]=e;while l<#t do local l=f()if o[l]then n=o[l]else n=e..c(e,1,1)end;o[d]=e..c(n,1,1)a[#a+1],e,d=n,n,d+1 end;return table.concat(a)end;local a=C('23O23K27527627523M23N27727B23K23425B27C27G27725C24R27625K23K23C23J22P27625O23O27O22Q27423K25D27W22627W25F26W27O23126W23K23S27Y23S23K28027525F26S28426S28725T23K24023K22A27625X23O28L22A27W25H24024O23K22S28L23K25F26G28426G28725P23W28L22T23W27526123K24G27N27626124828L23624827526523O28W23C27W26524C29J24C27525L23S28L21V28A23K25H29V23K22R2A425D29L2A52A925F25K28427M28828723K22X27625F25G28425G28727Y27522R27W2AQ28B28125828425828I28K28M27627Y29E28C29025028425029529723K29927525X29D29F2BF24429J24429W29Y23K2A027525D2BM2A52BT25F24G28429E23S25P2A123B2A12AU21Y28121K23R23K23121K23J23R25F21G2C923121G2CD25F1G2CH1G2CK26G2CH26G2CK2CG2CA2CJ2CE22K2CH22K2CK21W2CH21W2CK2142CH2142CD23L27G23L23M23M27623N23U27625U26D26R26O26N26M26C26D26Q23N23Q27625L2DO26D26W2C927527M27O23727R27T23J23F27W28J27522528O27W2AS29W28Z21U28Z25L27622W2B327W2C627523N23M2452DF2DZ23K26R26S26Q26H26M26F2DS27626K26N26V2DQ23N23P27626E2EZ26C2F227526H26O26H26E26X23N24627626G26S26S26O26R25624V24V2692FH24U2FG2FI26X24U26N26Q2F12A123K25K2FP26O25J26D26S23N23X27L2G92GB26S25D26R26X26M26B23N23T2762GI2GK2GM2GO2BT23K2FO2FQ2FS2FU26X26N26T26S26T26A26D24U26B26N26L23N2ES27526A2DN26D2HA26K26K2HI26S2G324G26L26926M24G25624O23N27W29D24M24G2GP2GG2FQ25S26N2EW23N23Y2I226O2I42EW2GT2GN2DG2762IB2GJ2GL2IE23V2GR2GC25R26A26I2HM26R2GE27626R2GC26L2GC26926S26926A2HL23N2G62672672FC2DX2FE23K2DV2DP26W23N2422IM26S2IO2IQ26B26S26R24G25O2EZ26J2562I02FM27524G2HZ25D2FP26D26L26O26S24G2HN24G2J826W2JS27G27E26K27R27N23J22127629628A22Q29A23K25T27W27V2752C128L22Q2A12962KS2KL25W23W27O23F2KL2KV23K23E2L22AH23D2AK25G23D23J23125G23L28823O29E23328125C2LB23125C2LF25H23K28W2382AK2582LM2582LP23K24W23K2LT28D2542LM2542LF25D23K25423K2332AK2502LM2502LF25G2BX2E629E23K25P2762EB27525S24K27O22P24K27525W24O27U28W23K2612ED2E82402M022V28Z2C12KJ2KU2KO2E82A12KT2BF2NC29B2NH2MM2EG2N82EK2AK23K2LM23K2LY2LS2AK23G28423G2872LQ2M02M229023C28423C2AP2M92MB2AK2382842LT2C027W2252ND2EA2A128P2AR27W2N227522U27W25P2NL2KQ2NN28D22K28422K2NY23K2602M12AK22G28422G2OY2682P128D22C28422C2O62942MC28D2282842282952MO2762E92A52762MX2L02N02OM2A52N42M021T2N823S28A21S2A125F21K28421K2O626O2O828D21G28421G2PK2EA2PM27622R2PP2MY2E62PS2N327525T2N523K2PX2KQ2PZ23K2242A125O2AX23J22Q2AZ2KM27622Q28O2AH2R52752P027U2EM2OK2BF25C2M021X25C2KQ2KL2KK2OS2752R82902702842702O6182Q92902832LC2862C02762302QG2752392KH2AH2222S323K2MP23K25W2AD2E627M2N12QN23K26425O2L025O27526923W1W23K21W2KL25X2442RI21T2BT25T2QU2Q12QO2S12PM2C22KU2KL23H2L22T62BR2EN2812282DT23122823I2CE21O2TG21O2TJ25F2202TG2202TO21W2TG21W2TO23C2TG23C2TO22G2CH22G2CK23S2CH23S2CK23O2CH23O2CK24C2CH24C2CK2202CH2202CK24S2CH24S2CK24O2CH24O2CK25C2CH25C2CK2C82CA2CC2CE2702CH2702CK21C2CH21C2CK2182CH2182CD2DE27C2DE27A2EP2DT2752J02J226D23N2EU26Q2K026N26U26D27H25C2GF2752AO27O22327625H23O2KJ27W2EJ2RN2S62W829W2R727R23S27U2A125H2BC2L52WB2QF2KQ2OE2E82SI25L2KL21U2KL2W723K2EL2TC2752EO27B2VG2DF2VJ23K2VL2J32VP2VR2VT2VV2VX23K2VZ23J2W12752W32W52WK23K2RO2MN2WA2JB2WC27525O2WE2R02WG2WI2WT2PL2WM2EA2WO2RD2JB2WR2XW2752WW27X2TD27523O23M2G62J42I92GI2IT2E02GH2GC2ID2GO2GQ2YH2I32I52GD2I82YN2IA2YP2YK23N2IL2752GI2JJ2IR23N2KL23K26M26D26V26B26B2F426R26T2VQ2I12YY2YJ2IJ2GO2DH2MQ2YU2ZH24X2DU2XX27X2B12202AK1C2841C2NY27W238281182842RU23S2XH2M128114284142ZX28L2ZZ28D10284102ZX29L310D2RP2RR2AP2LH2MB2812RX28528725K2442E22BT2SN27O2NX2WX2SA2AT2WP2A121U2A12WU2Y625F2682842P723S29X2OH2BR2ZR2AK2602842P0310423O2O028125W28425W310N2MA2LJ28D25S28425S310T310V23J237310X2E523G31132XZ31112EE2JB311531172OT2Y22EA2L62AR2PM2WP2Y32XJ2Y62C52812VA2CA2VC2CE1C2CH1C2CK182CH182CK142CH142CK102CH102CK2242CH2242UH2UJ2D12D32D52D72CK21O2CH21O2CD27723O23L2ZJ23K2JA2X52VN2X726L2VS2VN2G62G82FQ2YF2XB31422GA2ZG2GU2ZE2G72G92IH2I72I92IH2YV2YX23K2YZ2IP2IR2KA25B314A2GS2ZH2IF2ZK2IC2ZH25F27L2KE22B2DU2QU2NF2MM2R42S92XL2XP312C28L23E2KU2ZP2M829L2ZS28D21O28421O2NY2BO2382Q22Q42LC2Q6310423S310J2Q22QB2LC2QD315R29E315M28D21C28421C315K2LS2Q22182842182AP23S2M02332Q2214284214287310Y31232KH23W28A2ST2T32752S22BF2762S52T328A2S82MW24C2L02A42L323A2KL2KN2RN27W25X2NE2A12612RK3175317D316Q2WV2AK310R2RZ2C1311G2ZQ315E2AK26O2842Q8315R2RI316029026K2842KC28823S27M316E28D2922LC29423S316K2E32RJ316O31752T4316T2S42QG316X2PP31702E631722BC31742QO2NJ31792RN317B317F2KM318U2PN2Y6296312H317G2QI318F23K316V31532752322W9317H31112WZ25F1K2CH1K2CK2642CH2642CK2602CH2602CK25W2CH25W2CK25S2CH25S313A313C313E2CA2UK2CE2D22CA2D42CE2CM2CA2CO2TK313M313O23K2HE313T2F927526F2692IX2YD2MQ26K26926X2DQ2IS2Z325O26N26B26926K25S31AN31AP2DR2EU25X2IV26Q25L26C27722I24C1Z21G25D23N28Z23K26F2GC26Q26926V2IX2J0313V31AL23K2J62K72YW2762J626M31AJ2HI31AW26K2Z22IU31BI26D26926C2DN26K2FK23Z27626B26G2HR31BH2VQ31C531C731C92762HQ26J26D26726V2EY26S31C42VM31BT27526E26T2HK2692Z82DK31AR2I925V2DQ26U26H26B2VN31AG23K26V26926Q26M31CU314J2IN314L2JL2IS31412YI2GD2Z32Z52Z72Z92I52ZC2VN25927R26N31C526D26C24G25K25W25W25S24G25V26O26X31E726T31D026R26R31CW2HK26X24H23U25F31CG31CR31E126A31EA25S26D26X2HN2HS25C24G25Y24Z26Q26L26H2HK26H2DN31DG2F431C52EW2EY2F023N24I2FN2G92H024V26O2692EW26D26A2EZ2H92HB24V31BJ26V24V25126W25N26026926T26F25127723022T23Z21325D2AO2752RI27O23J2762XD2RO31052KP2A228Q2XK28T23W29E2RL2XC312231242E02KE21Z2W22BO315225L311O31GK2WM2MA31GH31E627U2ML28J28A2L828D2242842242872MR2E22MV2R331H82AK21W28421W31HE2QK2372N031H72NP2AK315H2LC315J23S25S24S2E224S2NG2Y129C2ON2PM2XV2MQ2KE318A23K25X2402P722O28Z2602B82R02BA23K2652402Q822Q28Z26924028631IQ27526C2E531GH2A82AR2A925D2ML22R2ML25D28Z22R28Z26G25C2E22RI23K26K2XS23G2C431J828Z25D31HH22R31HH2BS2AR2BT25D2A122R2A126H2BO315A2XG24831202342A931JB31JD27526K2KZ23J23G2KL31J72AR31JL31JN31JP2BT22R31JS2KL22R2KL31JX31592WG24C31K22A426H2A922R2A926K2AM2E631G831JX2Q02WG27623531GD2SE2372SG2E1316L2BN28623I2A125S2SL2E62SN31IC27W2OO2EF27522828Z2LQ28L22Z2W22W423K22727W2XD31IB310521W28T31GJ31M32XG2SQ23K22Y31KC2Y829025G2CH25G2UT2UV2CK2582CH2582CD');local o=bit and bit.bxor or function(l,n)local e,o=1,0 while l>0 and n>0 do local c,a=l%2,n%2 if c~=a then o=o+e end l,n,e=(l-c)/2,(n-a)/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 n(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 e()local n,a,e,c=f(a,l,l+3);n=o(n,128)a=o(a,128)e=o(e,128)c=o(c,128)l=l+4;return(c*16777216)+(e*65536)+(a*256)+n;end;local function d()return e()*4294967296+e();end;local function d()local e=o(f(a,l,l),128);l=l+1;return e;end;local function G()local o=e();local l=e();local c=1;local o=(n(l,1,20)*(2^32))+o;local e=n(l,21,31);local l=((-1)^n(l,32));if(e==0)then if(o==0)then return l*0;else e=1;c=0;end;elseif(e==2047)then return(o==0)and(l*(1/0))or(l*(0/0));end;return h(l,e-1023)*(c+(o/(2^52)));end;local i=e;local function C(e)local n;if(not e)then e=i();if(e==0)then return;end;end;n=c(a,l,l+e-2);l=l+e-1;local e={}for l=1,#n do e[l]=K(o(f(c(n,l,l)),128))end return r(e);end;local l=e;local function D()local f={};local l={};local t={};local K={};local a={};a[1]=f;a[2]=t;a[3]=l;a[7]=K;for e=1,e()do l[e-1]=D();end;a[5]=d();a[6]=d();for n=1,e()do local e=d();local l;if(e==2)then l=(d()~=0);elseif(e==0)then l=G();elseif(e==3)then l=c(C(),1,-1);end;t[n-1]=l;end;for a=1,e()do local c=o(e(),65);local e=o(e(),226);local o=n(c,1,2);local d=n(e,1,10);local l={};l[1]=d;l[5]=e;l[2]=n(c,3,10);if(o==0)then l[3]=n(c,11,19);l[4]=n(c,20,28);elseif(o==1)then l[3]=n(e,11,28);elseif(o==2)then l[3]=n(e,11,28)-131071;end;f[a]=l;end;return a;end;local function K(...)local l={...};return l,#l end;local function r(l,h,i)local a=l[1];local d=l[2];local G=l[3];local c=l[6];return function(...)local e=1;local o=-1;local W={};local f={...};local A=#f-1;local C={};local n={};for l=0,A do if(l>=c)then W[l-c]=f[l+1];else n[l]=f[l+1];end;end;local l;local c;while true do l=a[e];c=l[1];if c<=24 then if c<=11 then if c<=5 then if c<=2 then if c<=0 then local e=l[2];local a=(l[4]-1)*50;local c=n[e];for l=1,o-e do c[a+l]=n[e+l]end;elseif c>1 then local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local c=G[l[3]];local d;if c[5]~=0 then local l={};d=H({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,e,n)local l=l[e]l[1][l[2]]=n;end;});for o=1,c[5]do e=e+1;local e=a[e];if e[1]==1 then l[o-1]={n,e[3]};else l[o-1]={h,e[3]};end;C[#C+1]=l;end;end;local l=l[2];if l>o then o=l end;n[l]=r(c,d,i);else local e=l[2];if e>o then o=e end;n[e]=n[l[3]];end;elseif c<=3 then local t=l[2];if t>o then o=t end;n[t]=d[l[3]];e=e+1;l=a[e];c=l[1];local e=l[2];if e>o then o=e end;n[e]=d[l[3]];elseif c>4 then local f=l[3];local d=n[f]for l=f+1,l[4]do d=d..n[l];end;local f=l[2];if f>o then o=f end;n[f]=d;e=e+1;l=a[e];c=l[1];local r;local d=l[2];local C={};local i=0;local f=d+l[3]-1;for l=d+1,f do i=i+1;C[i]=n[l];end;r,f=K(n[d](t(C,1,f-d)));o=d-1;e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=h[l[3]];e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=h[l[3]];e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=n[l[3]];e=e+1;l=a[e];c=l[1];local e=l[2];if e>o then o=e end;n[e]=(l[3]~=0);else local e=l[2];if e>o then o=e end;n[e]=(l[3]~=0);end;elseif c<=8 then if c<=6 then if(n[l[3]]~=n[l[4]])then e=e+1;end;elseif c>7 then n[l[2]][d[l[3]]]=d[l[4]];else local e=l[2];if e>o then o=e end;n[e]=n[l[3]]+n[l[4]];end;elseif c<=9 then local d;local a=l[2];local f={};local e=0;local c=o;for l=a+1,c do e=e+1;f[e]=n[l];end;d,c=K(n[a](t(f,1,c-a)));c=a+l[4]-2;e=0;for l=a,c do e=e+1;n[l]=d[e];end;o=c;elseif c>10 then if(n[l[3]]<n[l[4]])then e=e+1;end;else local c=l[2];local o=o;local e={};local l=0;for o=c,o do l=l+1;e[l]=n[o];end;do return t(e,1,l)end;end;elseif c<=17 then if c<=14 then if c<=12 then local l=l[2];f={};local e=o;for l=l+1,e do f[#f+1]=n[l];end;do return n[l](t(f,1,e-l))end;elseif c>13 then local e=l[2];if e>o then o=e end;n[e]=K(t({},1,l[3]));else if(n[l[3]]==d[l[4]])then e=e+1;end;end;elseif c<=15 then e=e+l[3];elseif c>16 then local e=l[2];if e>o then o=e end;n[e]=i[d[l[3]]];else local e=l[2];if e>o then o=e end;n[e]=n[l[3]]/d[l[4]];end;elseif c<=20 then if c<=18 then n[l[2]][d[l[3]]]=n[l[4]];elseif c>19 then local r;local i=l[2];local C={};local d=0;local f=i+l[3]-1;for l=i+1,f do d=d+1;C[d]=n[l];end;r,f=K(n[i](t(C,1,f-i)));f=i+l[4]-2;d=0;for l=i,f do d=d+1;n[l]=r[d];end;o=f;e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=h[l[3]];e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=n[l[3]];e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=n[l[3]];e=e+1;l=a[e];c=l[1];local e=l[2];C={};local l=e+l[3]-1;for l=e+1,l do C[#C+1]=n[l];end;do return n[e](t(C,1,l-e))end;else local a=l[2];local o={};for l=1,#C do local l=C[l];for e=0,#l do local l=l[e];local c=l[1];local e=l[2];if c==n and e>=a then o[e]=c[e];l[1]=o;end;end;end;end;elseif c<=22 then if c>21 then if(n[l[3]]~=d[l[4]])then e=e+1;end;else local o=l[2];local c=o+l[3]-2;local e={};local l=0;for o=o,c do l=l+1;e[l]=n[o];end;do return t(e,1,l)end;end;elseif c>23 then local f;local a=l[2];local d={};local e=0;local c=a+l[3]-1;for l=a+1,c do e=e+1;d[e]=n[l];end;f,c=K(n[a](t(d,1,c-a)));c=a+l[4]-2;e=0;for l=a,c do e=e+1;n[l]=f[e];end;o=c;else local e=l[2];local l=l[3];o=e-1;for l=e,e+(l>0 and l-1 or A)do local e=W[l-e];n[l]=e;if e and l>o then o=l;end;end;end;elseif c<=37 then if c<=30 then if c<=27 then if c<=25 then local e=l[2];if e>o then o=e end;n[e]=d[l[3]];elseif c>26 then if not n[l[2]]then e=e+1;end;else local e=l[2];if e>o then o=e end;n[e]=n[l[3]]-n[l[4]];end;elseif c<=28 then local e=l[2];local c=n[l[3]];n[e+1]=c;n[e]=c[d[l[4]]];if e+1>o then o=e+1 end;elseif c>29 then local c=G[l[3]];local d;if c[5]~=0 then local l={};d=H({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,n,e)local l=l[n]l[1][l[2]]=e;end;});for o=1,c[5]do e=e+1;local e=a[e];if e[1]==1 then l[o-1]={n,e[3]};else l[o-1]={h,e[3]};end;C[#C+1]=l;end;end;local l=l[2];if l>o then o=l end;n[l]=r(c,d,i);else local f=G[l[3]];local K;if f[5]~=0 then local l={};K=H({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,n,e)local l=l[n]l[1][l[2]]=e;end;});for o=1,f[5]do e=e+1;local e=a[e];if e[1]==1 then l[o-1]={n,e[3]};else l[o-1]={h,e[3]};end;C[#C+1]=l;end;end;local t=l[2];if t>o then o=t end;n[t]=r(f,K,i);e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];n[l[2]][d[l[3]]]=d[l[4]];end;elseif c<=33 then if c<=31 then for l=l[2],l[3]do n[l]=nil;end;elseif c>32 then local e=l[2];if e>o then o=e end;n[e]=n[l[3]]*d[l[4]];else local e=l[2];f={};local l=e+l[3]-1;for l=e+1,l do f[#f+1]=n[l];end;do return n[e](t(f,1,l-e))end;end;elseif c<=35 then if c>34 then local c=l[3];local e=n[c]for l=c+1,l[4]do e=e..n[l];end;local l=l[2];if l>o then o=l end;n[l]=e;else local d;local e=l[2];local a={};local c=0;local l=e+l[3]-1;for l=e+1,l do c=c+1;a[c]=n[l];end;d,l=K(n[e](t(a,1,l-e)));o=e-1;end;elseif c>36 then local f=l[2];if f>o then o=f end;n[f]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local G;local h=l[2];local r={};local f=0;local C=h+l[3]-1;for l=h+1,C do f=f+1;r[f]=n[l];end;G,C=K(n[h](t(r,1,C-h)));C=h+l[4]-2;f=0;for l=h,C do f=f+1;n[l]=G[f];end;o=C;e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local t=l[2];if t>o then o=t end;n[t]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local e=l[2];if e>o then o=e end;n[e]=i[d[l[3]]];else do return end;end;elseif c<=43 then if c<=40 then if c<=38 then local e=l[2];if e>o then o=e end;n[e]=n[l[3]][d[l[4]]];elseif c>39 then local l=l[2];local c=n[l];for e=1,o-l do c[e]=n[l+e]end;else n[l[2]][d[l[3]]]=n[l[4]];e=e+1;l=a[e];c=l[1];local d=l[2];f={};local K=d+l[3]-1;for l=d+1,K do f[#f+1]=n[l];end;do return n[d](t(f,1,K-d))end;e=e+1;l=a[e];c=l[1];local c=l[2];local o=o;local e={};local l=0;for o=c,o do l=l+1;e[l]=n[o];end;do return t(e,1,l)end;end;elseif c<=41 then local f=l[2];if f>o then o=f end;n[f]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local f=l[2];if f>o then o=f end;n[f]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local f=l[2];if f>o then o=f end;n[f]=K(t({},1,l[3]));e=e+1;l=a[e];c=l[1];local t=l[2];local f=l[3];o=t-1;for l=t,t+(f>0 and f-1 or A)do local e=W[l-t];n[l]=e;if e and l>o then o=l;end;end;e=e+1;l=a[e];c=l[1];local t=l[2];local f=n[t];for l=1,o-t do f[l]=n[t+l]end;e=e+1;l=a[e];c=l[1];local e=l[2];if e>o then o=e end;n[e]=d[l[3]];elseif c>42 then local f=l[2];if f>o then o=f end;n[f]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local f=l[2];if f>o then o=f end;n[f]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local f=l[2];if f>o then o=f end;n[f]=n[l[3]];e=e+1;l=a[e];c=l[1];local r;local C=l[2];local h={};local f=0;local i=C+l[3]-1;for l=C+1,i do f=f+1;h[f]=n[l];end;r,i=K(n[C](t(h,1,i-C)));i=C+l[4]-2;f=0;for l=C,i do f=f+1;n[l]=r[f];end;o=i;e=e+1;l=a[e];c=l[1];local e=l[2];local c=n[l[3]];n[e+1]=c;n[e]=c[d[l[4]]];if e+1>o then o=e+1 end;else if(n[l[3]]==n[l[4]])then e=e+1;end;end;elseif c<=46 then if c<=44 then if(d[l[3]]<n[l[4]])then e=e+1;end;elseif c>45 then local L;local f=l[2];local D={};local A=0;local W=f+l[3]-1;for l=f+1,W do A=A+1;D[A]=n[l];end;L,W=K(n[f](t(D,1,W-f)));o=f-1;e=e+1;l=a[e];c=l[1];local f=l[2];if f>o then o=f end;n[f]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=K(t({},1,l[3]));e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=K(t({},1,l[3]));e=e+1;l=a[e];c=l[1];local c=G[l[3]];local d;if c[5]~=0 then local l={};d=H({},{__index=function(n,e)local l=l[e];return l[1][l[2]];end,__newindex=function(o,e,n)local l=l[e]l[1][l[2]]=n;end;});for o=1,c[5]do e=e+1;local e=a[e];if e[1]==1 then l[o-1]={n,e[3]};else l[o-1]={h,e[3]};end;C[#C+1]=l;end;end;local l=l[2];if l>o then o=l end;n[l]=r(c,d,i);else local l=l[2];n[l]();o=l-1;end;elseif c<=48 then if c>47 then local e=l[2];if e>o then o=e end;n[e]=n[l[3]]%d[l[4]];else local e=l[2];if e>o then o=e end;n[e]=h[l[3]];end;elseif c>49 then local d;local c=l[2];local a={};local e=0;local l=c+l[3]-1;for l=c+1,l do e=e+1;a[e]=n[l];end;d,l=K(n[c](t(a,1,l-c)));l=l+c-1;e=0;for l=c,l do e=e+1;n[l]=d[e];end;o=l;else local f=l[2];if f>o then o=f end;n[f]=i[d[l[3]]];e=e+1;l=a[e];c=l[1];local f=l[2];if f>o then o=f end;n[f]=n[l[3]][d[l[4]]];e=e+1;l=a[e];c=l[1];local d=l[2];if d>o then o=d end;n[d]=K(t({},1,l[3]));e=e+1;l=a[e];c=l[1];local d=l[2];local t=l[3];o=d-1;for l=d,d+(t>0 and t-1 or A)do local e=W[l-d];n[l]=e;if e and l>o then o=l;end;end;e=e+1;l=a[e];c=l[1];local l=l[2];local c=n[l];for e=1,o-l do c[e]=n[l+e]end;end;e=e+1;end;end;end;return r(D(),{},O())();