You are an agent playing NetHack. Predict the next keypresses.

statistics[
Strength: 18/18
Dexterity: 18
Constitution: 18
Intelligence: 9
Wisdom: 7
Charisma: 6
Depth: 1
Gold: 3
HP: 60/60
Energy: 21/21
AC: 3
XP: 6/632
Time: 10331
Position: 54|12
Hunger: Not Hungry
Monster Level: 0
Encumbrance: Unencumbered
Dungeon Number: 0
Level Number: 1
Score: 2541
Alignment: Lawful
Condition: None
]
glyphs[
stairs up very far eastnortheast
stairs down very far westsouthwest
chest very far westnorthwest
guisarme very far westnorthwest
bat corpse far eastnortheast
horizontal wall far south
newt statue far westsouthwest
guisarme far westnorthwest
iguana corpse near eastnortheast
iron skull cap near northnorthwest
doorway very near south
dark area very near west and northwest
dark area adjacent north, northeast, east, southeast, and southwest
gray luckstone adjacent west
]
message[

]
inventory[
$: 3 gold pieces
a: a +0 katana (weapon in hand)
c: a +0 yumi
e: an uncursed rustproof +0 splint mail (being worn)
f: an uncursed blindfold
j: an empty bag named #0
k: 2 scrolls labeled XOR OTA
m: a +0 orcish helm (being worn)
n: a scroll labeled KERNOD WEL
p: a scroll labeled VAS CORP BET MANI
q: an orcish dagger (at the ready)
r: a pink potion
s: 8 crossbow bolts
t: a whistle
v: a scroll labeled XIXAXA XOXAXA XUXAXA
w: a black potion
z: a clear potion
C: a wand of fire
D: a brass wand
E: an orcish dagger
G: a ruby potion
H: a granite ring
I: 2 darts
J: an orcish dagger
K: a brilliant blue potion
L: a slime mold
M: a scroll labeled KIRJE
]
cursor[
Yourself a samurai
]


<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10331
+Time: 10334
<|action|>south
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10334
-Position: 54|12
+Time: 10335
+Position: 54|13
@@ -34 +34 @@
-iguana corpse near eastnortheast
+iguana corpse near northeast
@@ -36,4 +36,5 @@
-doorway very near south
-dark area very near west and northwest
-dark area adjacent north, northeast, east, southeast, and southwest
-gray luckstone adjacent west
+dark area very near north and northwest
+dark area adjacent northeast, east, and west
+horizontal wall adjacent southeast and southwest
+doorway adjacent south
+gray luckstone adjacent northwest
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10335
+Time: 10339
<|action|>south
<|observation|>
@@ -15 +15 @@
-Position: 54|13
+Position: 54|14
@@ -29,0 +30 @@
+iguana corpse far northnortheast
@@ -31 +31,0 @@
-horizontal wall far south
@@ -34,7 +34,7 @@
-iguana corpse near northeast
-iron skull cap near northnorthwest
-dark area very near north and northwest
-dark area adjacent northeast, east, and west
-horizontal wall adjacent southeast and southwest
-doorway adjacent south
-gray luckstone adjacent northwest
+iron skull cap far northnorthwest
+dark area near north
+vertical wall near southeast
+horizontal wall near south and southwest
+gray luckstone very near northnorthwest
+dark area adjacent northeast and northwest
+horizontal wall adjacent east and west
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10339
+Time: 10342
<|action|>southeast
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10342
-Position: 54|14
+Time: 10343
+Position: 55|15
@@ -27 +27 @@
-stairs down very far westsouthwest
+stairs down very far west
@@ -35,2 +34,0 @@
-dark area near north
-vertical wall near southeast
@@ -38,3 +36,5 @@
-gray luckstone very near northnorthwest
-dark area adjacent northeast and northwest
-horizontal wall adjacent east and west
+gray luckstone near northnorthwest
+vertical wall very near east and southeast
+dark area very near northwest
+horizontal wall adjacent north and northeast
+doorway adjacent northwest
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10343
+Time: 10346
<|action|>east
<|observation|>
@@ -15 +15 @@
-Position: 55|15
+Position: 56|15
@@ -36,5 +36,4 @@
-gray luckstone near northnorthwest
-vertical wall very near east and southeast
-dark area very near northwest
-horizontal wall adjacent north and northeast
-doorway adjacent northwest
+gray luckstone near northwest
+horizontal wall adjacent north and northwest
+northeast room corner adjacent northeast
+vertical wall adjacent east and southeast
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10346
+Time: 10351
<|action|>south
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10351
-Position: 56|15
+Time: 10352
+Position: 56|16
@@ -27 +26,0 @@
-stairs down very far west
@@ -29,0 +29 @@
+stairs down very far westnorthwest
@@ -32 +32 @@
-newt statue far westsouthwest
+newt statue far west
@@ -36,4 +36,5 @@
-gray luckstone near northwest
-horizontal wall adjacent north and northwest
-northeast room corner adjacent northeast
-vertical wall adjacent east and southeast
+dark area near northwest
+gray luckstone near northnorthwest
+horizontal wall very near north
+doorway very near northwest
+vertical wall adjacent northeast, east, and southeast
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10352
+Time: 10353
@@ -39 +39 @@
-doorway very near northwest
+grid bug very near northwest
@@ -43 +43 @@
-
+You stop searching.
<|action|>whatis
<|observation|>
@@ -43 +43,9 @@
-You stop searching.
+What do you want to look at:
+/ - something on the map
+i - something you're carrying
+? - something else (by symbol or name)
+m - nearby monsters
+M - all monsters shown on map
+o - nearby objects
+O - all objects shown on map
+(end)
@@ -75 +83 @@
-Yourself a samurai
+far westnorthwest 
<|action|>movefar
<|observation|>
@@ -43,9 +43,4 @@
-What do you want to look at:
-/ - something on the map
-i - something you're carrying
-? - something else (by symbol or name)
-m - nearby monsters
-M - all monsters shown on map
-o - nearby objects
-O - all objects shown on map
-(end)
+All monsters currently shown on the map:
+<55,14>  x  grid bug
+<57,16>  @  human samurai called Agent
+--More--
@@ -83 +78 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -43,4 +43 @@
-All monsters currently shown on the map:
-<55,14>  x  grid bug
-<57,16>  @  human samurai called Agent
---More--
+
@@ -78 +75 @@
-
+Yourself a samurai
<|action|>enhance
<|observation|>
@@ -43 +43,23 @@
-
+Current skills:
+Fighting Skills
+martial arts      [Basic]
+two weapon combat [Unskilled]
+riding            [Unskilled]
+Weapon Skills
+dagger            [Basic]
+knife             [Unskilled]
+short sword       [Basic]
+broadsword        [Unskilled]
+long sword        [Skilled]
+two-handed sword  [Unskilled]
+scimitar          [Unskilled]
+saber             [Unskilled]
+flail             [Unskilled]
+quarterstaff      [Unskilled]
+polearms          [Unskilled]
+spear             [Unskilled]
+lance             [Unskilled]
+bow               [Basic]
+shuriken          [Unskilled]
+Spellcasting Skills
+(1 of 2)
@@ -75 +97 @@
-Yourself a samurai
+
<|action|>space
<|observation|>
@@ -43,23 +43 @@
-Current skills:
-Fighting Skills
-martial arts      [Basic]
-two weapon combat [Unskilled]
-riding            [Unskilled]
-Weapon Skills
-dagger            [Basic]
-knife             [Unskilled]
-short sword       [Basic]
-broadsword        [Unskilled]
-long sword        [Skilled]
-two-handed sword  [Unskilled]
-scimitar          [Unskilled]
-saber             [Unskilled]
-flail             [Unskilled]
-quarterstaff      [Unskilled]
-polearms          [Unskilled]
-spear             [Unskilled]
-lance             [Unskilled]
-bow               [Basic]
-shuriken          [Unskilled]
-Spellcasting Skills
-(1 of 2)
+attack spells     [Unskilled]
@@ -97 +75 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -43 +43 @@
-attack spells     [Unskilled]
+
@@ -75 +75 @@
-very far westnorthwest 
+Yourself a samurai
<|action|>throw
<|observation|>
@@ -43 +43 @@
-
+What do you want to throw? [$acqsEIJ or ?*]
@@ -75 +75 @@
-Yourself a samurai
+
<|action|>engrave
<|observation|>
@@ -43 +43 @@
-What do you want to throw? [$acqsEIJ or ?*]
+In what direction?
<|action|>northwest
<|observation|>
@@ -13 +13 @@
-XP: 6/632
+XP: 6/633
@@ -21 +21 @@
-Score: 2541
+Score: 2545
@@ -39 +39 @@
-grid bug very near northwest
+orcish dagger very near northwest
@@ -43 +43 @@
-In what direction?
+You kill the grid bug!
@@ -65 +64,0 @@
-E: an orcish dagger
@@ -75 +74 @@
-
+Yourself a samurai
<|action|>apply
<|observation|>
@@ -43 +43 @@
-You kill the grid bug!
+What do you want to use or apply? [fjtCD or ?*]
@@ -74 +74 @@
-Yourself a samurai
+
<|action|>south
<|observation|>
@@ -43 +43,7 @@
-What do you want to use or apply? [fjtCD or ?*]
+Your bag named #0 is empty.  Do what with it?
+: - Look inside the bag
+i - put something in
+r - put in, then take out
+s - stash one item into the bag
+q + do nothing
+(end)
@@ -74 +80 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -43,7 +43 @@
-Your bag named #0 is empty.  Do what with it?
-: - Look inside the bag
-i - put something in
-r - put in, then take out
-s - stash one item into the bag
-q + do nothing
-(end)
+The bag is empty.--More--
@@ -80 +74 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -43 +43,7 @@
-The bag is empty.--More--
+Your bag named #0 is empty.  Do what with it?
+: - Look inside the bag
+i - put something in
+r - put in, then take out
+s - stash one item into the bag
+q + do nothing
+(end)
@@ -74 +80 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -43,7 +43 @@
-Your bag named #0 is empty.  Do what with it?
-: - Look inside the bag
-i - put something in
-r - put in, then take out
-s - stash one item into the bag
-q + do nothing
-(end)
+
@@ -80 +74 @@
-far westnorthwest 
+Yourself a samurai
<|action|>northwest
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10353
-Position: 56|16
+Time: 10354
+Position: 55|15
@@ -26,0 +27 @@
+stairs down very far west
@@ -29 +29,0 @@
-stairs down very far westnorthwest
@@ -32 +32 @@
-newt statue far west
+newt statue far westsouthwest
@@ -36 +35,0 @@
-dark area near northwest
@@ -38,3 +37,4 @@
-horizontal wall very near north
-orcish dagger very near northwest
-vertical wall adjacent northeast, east, and southeast
+vertical wall very near east and southeast
+dark area very near northwest
+horizontal wall adjacent north and northeast
+orcish dagger adjacent northwest
<|action|>northwest
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10354
-Position: 55|15
+Time: 10355
+Position: 54|14
@@ -27 +27 @@
-stairs down very far west
+stairs down very far westsouthwest
@@ -34,0 +35,2 @@
+dark area near north
+vertical wall near southeast
@@ -36,5 +38,3 @@
-gray luckstone near northnorthwest
-vertical wall very near east and southeast
-dark area very near northwest
-horizontal wall adjacent north and northeast
-orcish dagger adjacent northwest
+gray luckstone very near northnorthwest
+dark area adjacent northeast and northwest
+horizontal wall adjacent east and west
@@ -43 +43 @@
-
+There is a doorway here.  You see here an orcish dagger.
<|action|>look
<|observation|>

<|action|>pickup
<|observation|>
@@ -43 +43 @@
-There is a doorway here.  You see here an orcish dagger.
+E - an orcish dagger.
@@ -64,0 +65 @@
+E: an orcish dagger
<|action|>apply
<|observation|>
@@ -43 +43 @@
-E - an orcish dagger.
+What do you want to use or apply? [fjtCD or ?*]
@@ -75 +75 @@
-Yourself a samurai
+
<|action|>south
<|observation|>
@@ -43 +43,7 @@
-What do you want to use or apply? [fjtCD or ?*]
+Your bag named #0 is empty.  Do what with it?
+: - Look inside the bag
+i - put something in
+r - put in, then take out
+s - stash one item into the bag
+q + do nothing
+(end)
@@ -75 +81 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -43,7 +43 @@
-Your bag named #0 is empty.  Do what with it?
-: - Look inside the bag
-i - put something in
-r - put in, then take out
-s - stash one item into the bag
-q + do nothing
-(end)
+The bag is empty.--More--
@@ -81 +75 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -43 +43,7 @@
-The bag is empty.--More--
+Your bag named #0 is empty.  Do what with it?
+: - Look inside the bag
+i - put something in
+r - put in, then take out
+s - stash one item into the bag
+q + do nothing
+(end)
@@ -75 +81 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -43,7 +43 @@
-Your bag named #0 is empty.  Do what with it?
-: - Look inside the bag
-i - put something in
-r - put in, then take out
-s - stash one item into the bag
-q + do nothing
-(end)
+
@@ -81 +75 @@
-far westnorthwest 
+Yourself a samurai
<|action|>look
<|observation|>
@@ -43 +43 @@
-
+There is a doorway here.
<|action|>southwest
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10355
-Position: 54|14
+Time: 10356
+Position: 53|15
@@ -27 +27 @@
-stairs down very far westsouthwest
+stairs down very far west
@@ -32,0 +33 @@
+vertical wall far west
@@ -35,2 +36,3 @@
-dark area near north
-vertical wall near southeast
+gray luckstone near north
+vertical wall near east
+southeast corner near southeast
@@ -38,3 +40,3 @@
-gray luckstone very near northnorthwest
-dark area adjacent northeast and northwest
-horizontal wall adjacent east and west
+dark area very near northeast
+horizontal wall adjacent north and northwest
+doorway adjacent northeast
@@ -43 +45 @@
-There is a doorway here.
+
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10356
+Time: 10359
<|action|>east
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10359
-Position: 53|15
+Time: 10360
+Position: 54|15
@@ -36,3 +36,2 @@
-gray luckstone near north
-vertical wall near east
-southeast corner near southeast
+dark area near north
+vertical wall near east and southeast
@@ -40,3 +39,3 @@
-dark area very near northeast
-horizontal wall adjacent north and northwest
-doorway adjacent northeast
+gray luckstone near northnorthwest
+doorway adjacent north
+horizontal wall adjacent northeast and northwest
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10360
+Time: 10364
<|action|>southeast
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10364
-Position: 54|15
+Time: 10365
+Position: 55|16
@@ -27 +26,0 @@
-stairs down very far west
@@ -29,0 +29 @@
+stairs down very far westnorthwest
@@ -32,2 +32 @@
-newt statue far westsouthwest
-vertical wall far west
+newt statue far west
@@ -36,2 +34,0 @@
-dark area near north
-vertical wall near east and southeast
@@ -40,2 +37,3 @@
-doorway adjacent north
-horizontal wall adjacent northeast and northwest
+horizontal wall very near north and northwest
+northeast room corner very near northeast
+vertical wall very near east and southeast
<|action|>southeast
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10365
-Position: 55|16
+Time: 10366
+Position: 56|17
@@ -32 +31,0 @@
-newt statue far west
@@ -33,0 +33 @@
+newt statue far westnorthwest
@@ -35 +35 @@
-horizontal wall near south and southwest
+horizontal wall near north and northwest
@@ -37,3 +37,2 @@
-horizontal wall very near north and northwest
-northeast room corner very near northeast
-vertical wall very near east and southeast
+horizontal wall very near south and southwest
+vertical wall adjacent northeast, east, and southeast
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10366
+Time: 10370
<|action|>southwest
<|observation|>
@@ -15 +15 @@
-Position: 56|17
+Position: 55|18
@@ -32 +31,0 @@
-guisarme far westnorthwest
@@ -33,0 +33 @@
+guisarme far northwest
@@ -34,0 +35 @@
+gray luckstone far northnorthwest
@@ -36,3 +37,2 @@
-gray luckstone near northnorthwest
-horizontal wall very near south and southwest
-vertical wall adjacent northeast, east, and southeast
+vertical wall very near northeast and east
+horizontal wall adjacent southeast, south, and southwest
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10370
+Time: 10375
<|action|>east
<|observation|>
@@ -15 +15 @@
-Position: 55|18
+Position: 56|18
@@ -31,0 +32 @@
+guisarme far westnorthwest
@@ -33 +33,0 @@
-guisarme far northwest
@@ -37,2 +37,3 @@
-vertical wall very near northeast and east
-horizontal wall adjacent southeast, south, and southwest
+vertical wall adjacent northeast and east
+southeast corner adjacent southeast
+horizontal wall adjacent south and southwest
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10375
+Time: 10379
<|action|>northwest
<|observation|>
@@ -14,2 +14,2 @@
-Time: 10379
-Position: 56|18
+Time: 10380
+Position: 55|17
@@ -35 +34,0 @@
-gray luckstone far northnorthwest
@@ -37,3 +36,4 @@
-vertical wall adjacent northeast and east
-southeast corner adjacent southeast
-horizontal wall adjacent south and southwest
+gray luckstone near northnorthwest
+vertical wall very near northeast and east
+southeast corner very near southeast
+horizontal wall very near south and southwest
<|action|>southwest
<|observation|>
@@ -15 +15 @@
-Position: 55|17
+Position: 54|18
@@ -29,0 +30 @@
+dark area far north
@@ -32 +33 @@
-guisarme far westnorthwest
+vertical open door far west
@@ -33,0 +35 @@
+guisarme far northnorthwest
@@ -35,5 +37,5 @@
-horizontal wall near north and northwest
-gray luckstone near northnorthwest
-vertical wall very near northeast and east
-southeast corner very near southeast
-horizontal wall very near south and southwest
+gray luckstone far northnorthwest
+doorway near north
+vertical wall near northeast and east
+horizontal wall near northwest
+horizontal wall adjacent southeast, south, and southwest
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 10380
+Time: 10385
<|action|>extcmd
<|observation|>
@@ -44 +44 @@
-
+#
@@ -76 +76 @@
-Yourself a samurai
+
<|action|>throw
<|observation|>
@@ -44 +44 @@
-#
+# t
<|action|>eat