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

statistics[
Strength: 22/19
Dexterity: 17
Constitution: 17
Intelligence: 7
Wisdom: 9
Charisma: 8
Depth: 7
Gold: 0
HP: 92/116
Energy: 29/29
AC: 9
XP: 10/5387
Time: 30480
Position: 54|11
Hunger: Not Hungry
Monster Level: 0
Encumbrance: Unencumbered
Dungeon Number: 2
Level Number: 3
Score: 21958
Alignment: Chaotic
Condition: None
]
glyphs[
quarterstaff very far westsouthwest
mummy wrapping very far westsouthwest
stairs up very far westsouthwest
brilliant blue potion very far west
gray loadstone very far westnorthwest
orc-captain corpse very far westnorthwest
scroll labeled THARR very far westnorthwest
crossbow bolt very far westnorthwest
northeast room corner far northeast
large round shield far eastnortheast and eastsoutheast
stairs down far eastnortheast
jackal corpse far eastsoutheast
ettin corpse far eastsoutheast
dwarvish mithril-coat far eastsoutheast
magenta potion far westnorthwest
rock near eastsoutheast
rock very near southsoutheast
dark area very near southwest
dark area adjacent north, south, west, and northwest
vertical wall adjacent east
southwest corner adjacent southeast
]
message[

]
inventory[
a: a thoroughly rusty +0 two-handed sword (weapon in hands)
f: an empty bag named #0
h: a +0 apron
i: a very rusty +1 orcish helm (being worn)
p: a +0 plate mail
r: a candle
t: a blindfold
u: a thoroughly rusty +0 pair of iron shoes (being worn)
D: an empty bag named #1
O: a knife
Q: a scroll labeled GNIK SISI VLE
]
cursor[
Yourself a barbarian
]


<|action|>apply
<|observation|>
@@ -49 +49 @@
-
+What do you want to use or apply? [frtD or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>fire
<|observation|>
@@ -49 +49,7 @@
-What do you want to use or apply? [frtD 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -49,7 +49 @@
-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--
@@ -71 +65 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -49 +49,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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -49,7 +49 @@
-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)
+
@@ -71 +65 @@
-far westnorthwest 
+Yourself a barbarian
<|action|>wear
<|observation|>
@@ -49 +49 @@
-
+What do you want to wear? [hp or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>pay
<|observation|>
@@ -10 +10 @@
-HP: 92/116
+HP: 93/116
@@ -12 +12 @@
-AC: 9
+AC: 2
@@ -14 +14 @@
-Time: 30480
+Time: 30485
@@ -49 +49 @@
-What do you want to wear? [hp or ?*]
+You finish your dressing maneuver.
@@ -56 +56 @@
-p: a +0 plate mail
+p: a +0 plate mail (being worn)
@@ -65 +65 @@
-
+Yourself a barbarian
<|action|>apply
<|observation|>
@@ -49 +49 @@
-You finish your dressing maneuver.
+What do you want to use or apply? [frtD or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>droptype
<|observation|>
@@ -49 +49,7 @@
-What do you want to use or apply? [frtD or ?*]
+Your bag named #1 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -49,7 +49 @@
-Your bag named #1 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--
@@ -71 +65 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -49 +49,7 @@
-The bag is empty.--More--
+Your bag named #1 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -49,7 +49 @@
-Your bag named #1 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)
+
@@ -71 +65 @@
-far westnorthwest 
+Yourself a barbarian
<|action|>apply
<|observation|>
@@ -49 +49 @@
-
+What do you want to use or apply? [frtD or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>fire
<|observation|>
@@ -49 +49,7 @@
-What do you want to use or apply? [frtD 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -49,7 +49 @@
-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--
@@ -71 +65 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -49 +49,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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -49,7 +49 @@
-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)
+
@@ -71 +65 @@
-far westnorthwest 
+Yourself a barbarian
<|action|>wear
<|observation|>
@@ -49 +49 @@
-
+What do you want to wear? [h or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>west
<|observation|>
@@ -10 +10 @@
-HP: 93/116
+HP: 94/116
@@ -12 +12 @@
-AC: 2
+AC: 1
@@ -14 +14 @@
-Time: 30485
+Time: 30486
@@ -49 +49 @@
-What do you want to wear? [h or ?*]
+You are now wearing an apron.
@@ -54 +54 @@
-h: a +0 apron
+h: a +0 apron (being worn)
@@ -65 +65 @@
-
+Yourself a barbarian
<|action|>apply
<|observation|>
@@ -49 +49 @@
-You are now wearing an apron.
+What do you want to use or apply? [frtD or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>droptype
<|observation|>
@@ -49 +49,7 @@
-What do you want to use or apply? [frtD or ?*]
+Your bag named #1 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -49,7 +49 @@
-Your bag named #1 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--
@@ -71 +65 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -49 +49,7 @@
-The bag is empty.--More--
+Your bag named #1 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -49,7 +49 @@
-Your bag named #1 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)
+
@@ -71 +65 @@
-far westnorthwest 
+Yourself a barbarian
<|action|>apply
<|observation|>
@@ -49 +49 @@
-
+What do you want to use or apply? [frtD or ?*]
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>fire
<|observation|>
@@ -49 +49,7 @@
-What do you want to use or apply? [frtD 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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>look
<|observation|>
@@ -49,7 +49 @@
-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--
@@ -71 +65 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -49 +49,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)
@@ -65 +71 @@
-
+far westnorthwest 
<|action|>space
<|observation|>
@@ -49,7 +49 @@
-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)
+
@@ -71 +65 @@
-far westnorthwest 
+Yourself a barbarian
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 94/116
+HP: 95/116
@@ -14 +14 @@
-Time: 30486
+Time: 30489
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 95/116
+HP: 96/116
@@ -14 +14 @@
-Time: 30489
+Time: 30494
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 96/116
+HP: 97/116
@@ -14 +14 @@
-Time: 30494
+Time: 30497
<|action|>extcmd
<|observation|>
@@ -49 +49 @@
-
+#
@@ -65 +65 @@
-Yourself a barbarian
+
<|action|>throw
<|observation|>
@@ -49 +49 @@
-#
+# t
<|action|>eat
<|observation|>
@@ -49 +49 @@
-# t
+# terrain
<|action|>more
<|observation|>
@@ -49 +49,5 @@
-# terrain
+View which?
+a + known map without monsters, objects, and traps
+b - known map without monsters and objects
+c - known map without monsters
+(end)
@@ -65 +69 @@
-
+very far westnorthwest 
<|action|>southwest
<|observation|>
@@ -26,2 +25,0 @@
-quarterstaff very far westsouthwest
-mummy wrapping very far westsouthwest
@@ -29,5 +26,0 @@
-brilliant blue potion very far west
-gray loadstone very far westnorthwest
-orc-captain corpse very far westnorthwest
-scroll labeled THARR very far westnorthwest
-crossbow bolt very far westnorthwest
@@ -35 +27,0 @@
-large round shield far eastnortheast and eastsoutheast
@@ -37,6 +28,0 @@
-jackal corpse far eastsoutheast
-ettin corpse far eastsoutheast
-dwarvish mithril-coat far eastsoutheast
-magenta potion far westnorthwest
-rock near eastsoutheast
-rock very near southsoutheast
@@ -49,5 +35 @@
-View which?
-a + known map without monsters, objects, and traps
-b - known map without monsters and objects
-c - known map without monsters
-(end)
+Showing known terrain and traps only...  (For instructions type a '?')
@@ -69 +51 @@
-very far westnorthwest 
+Yourself a 
<|action|>esc
<|observation|>
@@ -25,0 +26,2 @@
+quarterstaff very far westsouthwest
+mummy wrapping very far westsouthwest
@@ -26,0 +29,5 @@
+brilliant blue potion very far west
+gray loadstone very far westnorthwest
+orc-captain corpse very far westnorthwest
+scroll labeled THARR very far westnorthwest
+crossbow bolt very far westnorthwest
@@ -27,0 +35 @@
+large round shield far eastnortheast and eastsoutheast
@@ -28,0 +37,6 @@
+jackal corpse far eastsoutheast
+ettin corpse far eastsoutheast
+dwarvish mithril-coat far eastsoutheast
+magenta potion far westnorthwest
+rock near eastsoutheast
+rock very near southsoutheast
@@ -35 +49 @@
-Showing known terrain and traps only...  (For instructions type a '?')
+
@@ -51 +65 @@
-Yourself a 
+Yourself a barbarian
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 97/116
+HP: 99/116
@@ -14 +14 @@
-Time: 30497
+Time: 30502
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 99/116
+HP: 100/116
@@ -14 +14 @@
-Time: 30502
+Time: 30506
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 100/116
+HP: 102/116
@@ -14 +14 @@
-Time: 30506
+Time: 30510
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 102/116
+HP: 103/116
@@ -14 +14 @@
-Time: 30510
+Time: 30513
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 103/116
+HP: 104/116
@@ -14 +14 @@
-Time: 30513
+Time: 30517
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 104/116
+HP: 105/116
@@ -14 +14 @@
-Time: 30517
+Time: 30520
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 105/116
+HP: 106/116
@@ -14 +14 @@
-Time: 30520
+Time: 30524
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -10 +10 @@
-HP: 106/116
+HP: 108/116
@@ -14 +14 @@
-Time: 30524
+Time: 30529
<|action|>five
<|observation|>

<|action|>search
<|observation|>
@@ -14 +14 @@
-Time: 30529
+Time: 30530
@@ -46,0 +47 @@
+succubus adjacent southwest
@@ -49 +50 @@
-
+You stop searching.
<|action|>whatis
<|observation|>
@@ -50 +50,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)
@@ -66 +74 @@
-Yourself a barbarian
+far westnorthwest 
<|action|>movefar
<|observation|>
@@ -50,9 +50,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,11>  @  human barbarian called Agent
+<54,12>  &  succubus
+--More--
@@ -74 +69 @@
-far westnorthwest 
+
<|action|>space
<|observation|>
@@ -50,4 +50 @@
-All monsters currently shown on the map:
-<55,11>  @  human barbarian called Agent
-<54,12>  &  succubus
---More--
+
@@ -69 +66 @@
-
+Yourself a barbarian
<|action|>enhance
<|observation|>
@@ -50 +50,22 @@
-
+Current skills:
+(Skills flagged by "#" cannot be enhanced any further.)
+Fighting Skills
+bare handed combat [Basic]
+two weapon combat  [Unskilled]
+riding             [Unskilled]
+Weapon Skills
+#  dagger             [Basic]
+axe                [Basic]
+pick-axe           [Unskilled]
+short sword        [Unskilled]
+broadsword         [Unskilled]
+long sword         [Unskilled]
+#  two-handed sword   [Expert]
+scimitar           [Unskilled]
+saber              [Unskilled]
+club               [Unskilled]
+mace               [Unskilled]
+morning star       [Unskilled]
+flail              [Unskilled]
+hammer             [Unskilled]
+(1 of 2)
@@ -66 +87 @@
-Yourself a barbarian
+
<|action|>space