Fungeoneer

Chapter 9: Ledger Lines

You have entered the ninth dungeon. You stand at the bottom of the staircase where you entered, facing east. A gnome sits on the bottom stair, sipping from a flask of mushroom brew. As he looks up at you, then down at the purse of stacking on your belt, you recognize him as the cartographer from the first dungeon. He leans forward, as if about to speak. With a magic marker and a flick of the wrist, he scribbles a line of credit onto your purse, in the shape of an S. He pauses for a moment, then sits back, taking another sip.

The purse of stacking now tracks the stack size as register S. The stack size is initially zero, indicating an empty stack. Stack slots are indexed from zero. Pushing writes a number to slot S, then increments register S. Popping decrements register S, then reads a number from slot S. As before, popping an empty stack raises an error.

With your affairs in order, you consult the map:

{B=SIRP[(](R[]]}[{{)=(}R]}[[[[)R)}]{({=W}]R}[){[[()[((])))})}[(=_CU_vCtVi.]][})P
=z0DlHzG[d92CWxIiG:kS*pJO{K0(]cp7Jl20OgT*7b:y1e%9tm]IS[kGQYMjL4V_gE4Q,A){d][]-w}
f-)2{vyupW5lvjAX9OjkRuBKUE>Rnm,qb;ET7oQBhW%Z5wa{A7/IlN7+>+)v<a9C})R{(KHD_/){b+p(
o4\8*[CTIt)VJ=6R%\-TR[]yd{+[y)J[\1>\x]d.=Vh)n=8w]:Xo[0Od](cwb7qv2V*XmROB(XN8>sH}
[6vUCbom07FHuraBl4Ypj+GMOlQ2eGL+A7JxV0;_(Trp(k:-0qG-I3Eku07CECr,}f[Wj%1}/hmjaa{[
{{==8hd6]AS{[de,{Jao)}RhqT6{]t}PW+SlC)B])}mvG=))6IFc)qB.F{s]wwTmk{UevY(bQ70K.5v]
R_MUMXkSctR3Q=o:{tHZdFd98y,wAL)7>x)M*5GpisHK5\>]C)O>cXn2.oT{R6dOL]Hpr7,j6fa_Hxk}
):v[a5nCZ\k]\=6vmhixi{)20(ox]mY8Ss+d=[cyc]myU8>}C[F{e.>p)xKZxYJ:V72WdV69j1.)I2][
RXwy[9T>.5EoY}hTBc7(qqJhsE.hL*\L%w/aybtjFU46d8bfp\_:Q1zUrM=ucIR31k}aG{dT+q)ve[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UKI<e+0.DR99<t}[]{
[CB0Wo0%={l:X}l(4Z3r\QW<Ktu,8z/+9RH[r6Xh6Y9iQku=g<0)HSfIDFT}B{M()J[eW)=deQF([T*}
]9w8gNgF7T,)y(}<[pQu}}RF6Jk6M.0u%bJv{UFp;+l1l))(R6GTZ<b=beTvgn/T8Bh)7Ha]QZB<LE/(
[([}([{((R]]]{[}})}}(({[)([}{{)}(]](]{)[R)})]{{[{}])[]}{{[){)((}](}]R)}[})](={}[

This dungeon introduces tiles with getters and setters for register S (marked s or S on the map), along with peekers (marked ,) and pokers (marked ;). When you trigger an S-getter tile, read the number from register S, then push that number onto the stack. For an S-setter tile, pop a number from the stack, then write that number to register S. This resizes the stack.

For a peeker tile, pop a number a from the stack. Read another number b from slot a. Push b onto the stack. For a poker tile, pop two numbers from the stack: first a, then b. Write b to slot a.

After how many ticks do you leave the dungeon?

From here, you can continue to the answer.

Example

Consider an example dungeon:

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

The log below shows you exploring the example dungeon, with your location marked @ on the map. The status lines now also show the stack size as register S (labeled S).

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877@[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: []  Dx: East  Co: (18, 1)  Tk: 0
P: 38  R: 0  S: 0

---

A wall blocks your way east. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877@[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: []  Dx: North  Co: (18, 1)  Tk: 1
P: 38  R: -2  S: 0

---

A wall blocks your way north. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877@[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: []  Dx: West  Co: (18, 1)  Tk: 2
P: 38  R: -4  S: 0

---

You go west. You push 7.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,187@<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7]  Dx: West  Co: (17, 1)  Tk: 3
P: 37  R: -4  S: 1

---

You go west. You push 7.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,18@7<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7]  Dx: West  Co: (16, 1)  Tk: 4
P: 36  R: -4  S: 2

---

You go west. You push 8.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1@77<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8]  Dx: West  Co: (15, 1)  Tk: 5
P: 35  R: -4  S: 3

---

You go west. You push 1.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,@877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 1]  Dx: West  Co: (14, 1)  Tk: 6
P: 34  R: -4  S: 4

---

You go west. You read 7 from slot 1.

][6==[[][[]=8s7:\][[
=32;.[8_\[004@1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7]  Dx: West  Co: (13, 1)  Tk: 7
P: 33  R: -4  S: 4

---

You go west. You push 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[00@,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4]  Dx: West  Co: (12, 1)  Tk: 8
P: 32  R: -4  S: 5

---

You go west. You push 0.

][6==[[][[]=8s7:\][[
=32;.[8_\[0@4,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0]  Dx: West  Co: (11, 1)  Tk: 9
P: 31  R: -4  S: 6

---

You go west. You push 0.

][6==[[][[]=8s7:\][[
=32;.[8_\[@04,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 0]  Dx: West  Co: (10, 1)  Tk: 10
P: 30  R: -4  S: 7

---

A wall blocks your way west. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[@04,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 0]  Dx: South  Co: (10, 1)  Tk: 11
P: 30  R: -6  S: 7

---

You go south. You push 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75@59:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 0, 6]  Dx: South  Co: (10, 2)  Tk: 12
P: 50  R: -6  S: 8

---

You go south. You swap 0 and 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5@=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0]  Dx: South  Co: (10, 3)  Tk: 13
P: 70  R: -6  S: 8

---

A wall blocks your way south. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5@=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0]  Dx: West  Co: (10, 3)  Tk: 14
P: 70  R: -4  S: 8

---

You go west. You push 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.@\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0, 5]  Dx: West  Co: (9, 3)  Tk: 15
P: 69  R: -4  S: 9

---

You go west.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s@5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0, 5]  Dx: West  Co: (8, 3)  Tk: 16
P: 68  R: -4  S: 9

---

You go west. You read 9 from register S.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5@.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0, 5, 9]  Dx: West  Co: (7, 3)  Tk: 17
P: 67  R: -4  S: 10

---

You go west. You push 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:@s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0, 5, 9, 5]  Dx: West  Co: (6, 3)  Tk: 18
P: 66  R: -4  S: 11

---

You go west. You duplicate 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]@5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0, 5, 9, 5, 5]  Dx: West  Co: (5, 3)  Tk: 19
P: 65  R: -4  S: 12

---

A wall blocks your way west. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]@5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 0, 6, 0, 5, 9, 5, 5]  Dx: North  Co: (5, 3)  Tk: 20
P: 65  R: -2  S: 12

---

You go north. You write 5 to register S.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2@=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4]  Dx: North  Co: (5, 2)  Tk: 21
P: 45  R: -2  S: 5

---

A wall blocks your way north. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2@=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4]  Dx: West  Co: (5, 2)  Tk: 22
P: 45  R: -4  S: 5

---

You go west. You push 2.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._@S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4, 2]  Dx: West  Co: (4, 2)  Tk: 23
P: 44  R: -4  S: 6

---

You go west. You discard 2.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\.@2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4]  Dx: West  Co: (3, 2)  Tk: 24
P: 43  R: -4  S: 5

---

You go west.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\@_2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 7, 4]  Dx: West  Co: (2, 2)  Tk: 25
P: 42  R: -4  S: 5

---

You go west. You swap 7 and 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[@._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 4, 7]  Dx: West  Co: (1, 2)  Tk: 26
P: 41  R: -4  S: 5

---

A wall blocks your way west. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[@._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 4, 7]  Dx: South  Co: (1, 2)  Tk: 27
P: 41  R: -6  S: 5

---

You go south. You push 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]@26]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 4, 7, 6]  Dx: South  Co: (1, 3)  Tk: 28
P: 61  R: -6  S: 6

---

You go south. You turn right because 7 > 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]@[=s05=]]][][[][[]]

St: [7, 7, 8, 4]  Dx: West  Co: (1, 4)  Tk: 29
P: 81  R: -4  S: 4

---

A wall blocks your way west. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]@[=s05=]]][][[][[]]

St: [7, 7, 8, 4]  Dx: North  Co: (1, 4)  Tk: 30
P: 81  R: -2  S: 4

---

You go north. You push 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]@26]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 4, 6]  Dx: North  Co: (1, 3)  Tk: 31
P: 61  R: -2  S: 5

---

You go north. You swap 4 and 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[@._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6, 4]  Dx: North  Co: (1, 2)  Tk: 32
P: 41  R: -2  S: 5

---

You go north. You push 3.

][6==[[][[]=8s7:\][[
=@2;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6, 4, 3]  Dx: North  Co: (1, 1)  Tk: 33
P: 21  R: -2  S: 6

---

A wall blocks your way north. You turn left.

][6==[[][[]=8s7:\][[
=@2;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6, 4, 3]  Dx: West  Co: (1, 1)  Tk: 34
P: 21  R: -4  S: 6

---

You go west. You turn right because 4 > 3.

][6==[[][[]=8s7:\][[
@32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6]  Dx: North  Co: (0, 1)  Tk: 35
P: 20  R: -2  S: 4

---

A wall blocks your way north. You turn right.

][6==[[][[]=8s7:\][[
@32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6]  Dx: East  Co: (0, 1)  Tk: 36
P: 20  R: 0  S: 4

---

You go east. You push 3.

][6==[[][[]=8s7:\][[
=@2;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6, 3]  Dx: East  Co: (1, 1)  Tk: 37
P: 21  R: 0  S: 5

---

You go east. You push 2.

][6==[[][[]=8s7:\][[
=3@;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 8, 6, 3, 2]  Dx: East  Co: (2, 1)  Tk: 38
P: 22  R: 0  S: 6

---

You go east. You write 3 to slot 2.

][6==[[][[]=8s7:\][[
=32@.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 3, 6]  Dx: East  Co: (3, 1)  Tk: 39
P: 23  R: 0  S: 4

---

You go east.

][6==[[][[]=8s7:\][[
=32;@[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 3, 6]  Dx: East  Co: (4, 1)  Tk: 40
P: 24  R: 0  S: 4

---

A wall blocks your way east. You turn left.

][6==[[][[]=8s7:\][[
=32;@[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7, 3, 6]  Dx: North  Co: (4, 1)  Tk: 41
P: 24  R: -2  S: 4

---

You go north. You turn left because 3 < 6.

][6=@[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [7, 7]  Dx: West  Co: (4, 0)  Tk: 42
P: 4  R: -4  S: 2

---

You go west. You continue straight because 7 = 7.

][6@=[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: []  Dx: West  Co: (3, 0)  Tk: 43
P: 3  R: -4  S: 0

---

You go west. You push 6.

][@==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6]  Dx: West  Co: (2, 0)  Tk: 44
P: 2  R: -4  S: 1

---

A wall blocks your way west. You turn left.

][@==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6]  Dx: South  Co: (2, 0)  Tk: 45
P: 2  R: -6  S: 1

---

You go south. You push 2.

][6==[[][[]=8s7:\][[
=3@;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2]  Dx: South  Co: (2, 1)  Tk: 46
P: 22  R: -6  S: 2

---

You go south.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\@_2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2]  Dx: South  Co: (2, 2)  Tk: 47
P: 42  R: -6  S: 2

---

You go south. You push 2.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]6@6]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: South  Co: (2, 3)  Tk: 48
P: 62  R: -6  S: 3

---

A wall blocks your way south. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]6@6]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: East  Co: (2, 3)  Tk: 49
P: 62  R: -8  S: 3

---

You go east. You push 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]62@]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2, 6]  Dx: East  Co: (3, 3)  Tk: 50
P: 63  R: -8  S: 4

---

A wall blocks your way east. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]62@]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2, 6]  Dx: South  Co: (3, 3)  Tk: 51
P: 63  R: -6  S: 4

---

You go south. You turn left because 2 < 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[@s05=]]][][[][[]]

St: [6, 2]  Dx: East  Co: (3, 4)  Tk: 52
P: 83  R: -8  S: 2

---

You go east. You read 2 from register S.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=@05=]]][][[][[]]

St: [6, 2, 2]  Dx: East  Co: (4, 4)  Tk: 53
P: 84  R: -8  S: 3

---

You go east. You push 0.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s@5=]]][][[][[]]

St: [6, 2, 2, 0]  Dx: East  Co: (5, 4)  Tk: 54
P: 85  R: -8  S: 4

---

You go east. You push 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s0@=]]][][[][[]]

St: [6, 2, 2, 0, 5]  Dx: East  Co: (6, 4)  Tk: 55
P: 86  R: -8  S: 5

---

You go east. You turn left because 0 < 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05@]]][][[][[]]

St: [6, 2, 2]  Dx: North  Co: (7, 4)  Tk: 56
P: 87  R: -10  S: 3

---

You go north. You read 3 from register S.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5@.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2, 3]  Dx: North  Co: (7, 3)  Tk: 57
P: 67  R: -10  S: 4

---

You go north.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=@75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2, 3]  Dx: North  Co: (7, 2)  Tk: 58
P: 47  R: -10  S: 4

---

You go north. You discard 3.

][6==[[][[]=8s7:\][[
=32;.[8@\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: North  Co: (7, 1)  Tk: 59
P: 27  R: -10  S: 3

---

A wall blocks your way north. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8@\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: East  Co: (7, 1)  Tk: 60
P: 27  R: -8  S: 3

---

You go east. You swap 2 and 2.

][6==[[][[]=8s7:\][[
=32;.[8_@[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: East  Co: (8, 1)  Tk: 61
P: 28  R: -8  S: 3

---

A wall blocks your way east. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_@[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: North  Co: (8, 1)  Tk: 62
P: 28  R: -10  S: 3

---

A wall blocks your way north. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_@[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 2]  Dx: West  Co: (8, 1)  Tk: 63
P: 28  R: -12  S: 3

---

You go west. You discard 2.

][6==[[][[]=8s7:\][[
=32;.[8@\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2]  Dx: West  Co: (7, 1)  Tk: 64
P: 27  R: -12  S: 2

---

You go west. You push 8.

][6==[[][[]=8s7:\][[
=32;.[@_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 8]  Dx: West  Co: (6, 1)  Tk: 65
P: 26  R: -12  S: 3

---

A wall blocks your way west. You turn left.

][6==[[][[]=8s7:\][[
=32;.[@_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 2, 8]  Dx: South  Co: (6, 1)  Tk: 66
P: 26  R: -14  S: 3

---

You go south. You turn left because 2 < 8.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S@.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6]  Dx: East  Co: (6, 2)  Tk: 67
P: 46  R: -16  S: 1

---

You go east.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=@75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6]  Dx: East  Co: (7, 2)  Tk: 68
P: 47  R: -16  S: 1

---

You go east. You push 7.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.@5659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7]  Dx: East  Co: (8, 2)  Tk: 69
P: 48  R: -16  S: 2

---

You go east. You push 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.7@659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5]  Dx: East  Co: (9, 2)  Tk: 70
P: 49  R: -16  S: 3

---

You go east. You push 6.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75@59:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6]  Dx: East  Co: (10, 2)  Tk: 71
P: 50  R: -16  S: 4

---

You go east. You push 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.756@9:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5]  Dx: East  Co: (11, 2)  Tk: 72
P: 51  R: -16  S: 5

---

You go east. You push 9.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.7565@:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9]  Dx: East  Co: (12, 2)  Tk: 73
P: 52  R: -16  S: 6

---

You go east. You duplicate 9.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659@41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9]  Dx: East  Co: (13, 2)  Tk: 74
P: 53  R: -16  S: 7

---

You go east. You push 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:@1423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4]  Dx: East  Co: (14, 2)  Tk: 75
P: 54  R: -16  S: 8

---

You go east. You push 1.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:4@423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1]  Dx: East  Co: (15, 2)  Tk: 76
P: 55  R: -16  S: 9

---

You go east. You push 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41@23]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4]  Dx: East  Co: (16, 2)  Tk: 77
P: 56  R: -16  S: 10

---

You go east. You push 2.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:414@3]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4, 2]  Dx: East  Co: (17, 2)  Tk: 78
P: 57  R: -16  S: 11

---

You go east. You push 3.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:4142@]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4, 2, 3]  Dx: East  Co: (18, 2)  Tk: 79
P: 58  R: -16  S: 12

---

A wall blocks your way east. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:4142@]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4, 2, 3]  Dx: South  Co: (18, 2)  Tk: 80
P: 58  R: -14  S: 12

---

You go south. You push 2.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.148@[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4, 2, 3, 2]  Dx: South  Co: (18, 3)  Tk: 81
P: 78  R: -14  S: 13

---

A wall blocks your way south. You turn right.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.148@[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4, 2, 3, 2]  Dx: West  Co: (18, 3)  Tk: 82
P: 78  R: -12  S: 13

---

You go west. You push 8.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.14@2[
]=[=s05=]]][][[][[]]

St: [6, 7, 5, 6, 5, 9, 9, 4, 1, 4, 2, 3, 2, 8]  Dx: West  Co: (17, 3)  Tk: 83
P: 77  R: -12  S: 14

---

You go west. You push 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1@82[
]=[=s05=]]][][[][[]]

St: [..., 5, 6, 5, 9, 9, 4, 1, 4, 2, 3, 2, 8, 4]  Dx: West  Co: (16, 3)  Tk: 84
P: 76  R: -12  S: 15

---

You go west. You push 1.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.@482[
]=[=s05=]]][][[][[]]

St: [..., 6, 5, 9, 9, 4, 1, 4, 2, 3, 2, 8, 4, 1]  Dx: West  Co: (15, 3)  Tk: 85
P: 75  R: -12  S: 16

---

You go west.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S@1482[
]=[=s05=]]][][[][[]]

St: [..., 6, 5, 9, 9, 4, 1, 4, 2, 3, 2, 8, 4, 1]  Dx: West  Co: (14, 3)  Tk: 86
P: 74  R: -12  S: 16

---

You go west. You write 1 to register S.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1@.1482[
]=[=s05=]]][][[][[]]

St: [6]  Dx: West  Co: (13, 3)  Tk: 87
P: 73  R: -12  S: 1

---

You go west. You push 1.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=@S.1482[
]=[=s05=]]][][[][[]]

St: [6, 1]  Dx: West  Co: (12, 3)  Tk: 88
P: 72  R: -12  S: 2

---

You go west. You turn right because 6 > 1.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\@1S.1482[
]=[=s05=]]][][[][[]]

St: []  Dx: North  Co: (11, 3)  Tk: 89
P: 71  R: -10  S: 0

---

You go north. You push 5.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.756@9:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [5]  Dx: North  Co: (11, 2)  Tk: 90
P: 51  R: -10  S: 1

---

You go north. You push 0.

][6==[[][[]=8s7:\][[
=32;.[8_\[0@4,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [5, 0]  Dx: North  Co: (11, 1)  Tk: 91
P: 31  R: -10  S: 2

---

You go north. You turn right because 5 > 0.

][6==[[][[]@8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: []  Dx: East  Co: (11, 0)  Tk: 92
P: 11  R: -8  S: 0

---

You go east. You push 8.

][6==[[][[]=@s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8]  Dx: East  Co: (12, 0)  Tk: 93
P: 12  R: -8  S: 1

---

You go east. You read 1 from register S.

][6==[[][[]=8@7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1]  Dx: East  Co: (13, 0)  Tk: 94
P: 13  R: -8  S: 2

---

You go east. You push 7.

][6==[[][[]=8s@:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7]  Dx: East  Co: (14, 0)  Tk: 95
P: 14  R: -8  S: 3

---

You go east. You duplicate 7.

][6==[[][[]=8s7@\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7]  Dx: East  Co: (15, 0)  Tk: 96
P: 15  R: -8  S: 4

---

You go east. You swap 7 and 7.

][6==[[][[]=8s7:@][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7]  Dx: East  Co: (16, 0)  Tk: 97
P: 16  R: -8  S: 4

---

A wall blocks your way east. You turn right.

][6==[[][[]=8s7:@][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7]  Dx: South  Co: (16, 0)  Tk: 98
P: 16  R: -6  S: 4

---

You go south. You push 7.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,18@7<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7]  Dx: South  Co: (16, 1)  Tk: 99
P: 36  R: -6  S: 5

---

You go south. You push 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41@23]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4]  Dx: South  Co: (16, 2)  Tk: 100
P: 56  R: -6  S: 6

---

You go south. You push 4.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1@82[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4, 4]  Dx: South  Co: (16, 3)  Tk: 101
P: 76  R: -6  S: 7

---

A wall blocks your way south. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.1@82[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4, 4]  Dx: East  Co: (16, 3)  Tk: 102
P: 76  R: -8  S: 7

---

You go east. You push 8.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.14@2[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4, 4, 8]  Dx: East  Co: (17, 3)  Tk: 103
P: 77  R: -8  S: 8

---

You go east. You push 2.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.148@[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4, 4, 8, 2]  Dx: East  Co: (18, 3)  Tk: 104
P: 78  R: -8  S: 9

---

A wall blocks your way east. You turn left.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:41423]
]626]:5s.5\=1S.148@[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4, 4, 8, 2]  Dx: North  Co: (18, 3)  Tk: 105
P: 78  R: -10  S: 9

---

You go north. You push 3.

][6==[[][[]=8s7:\][[
=32;.[8_\[004,1877<[
[\._2S=.75659:4142@]
]626]:5s.5\=1S.1482[
]=[=s05=]]][][[][[]]

St: [8, 1, 7, 7, 7, 4, 4, 8, 2, 3]  Dx: North  Co: (18, 2)  Tk: 106
P: 58  R: -10  S: 10

---

You go north. You go upstairs.

St: [8, 1, 7, 7, 7, 4, 4, 8, 2, 3]  Dx: North  Tk: 107
P: -62  R: -10  S: 10

You leave the example dungeon after 107 ticks.