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

statistics[
Strength: 21/19
Dexterity: 16
Constitution: 17
Intelligence: 14
Wisdom: 8
Charisma: 12
Depth: 5
Gold: 769
HP: 72/81
Energy: 30/30
AC: -2
XP: 9/2862
Time: 28097
Position: 62|12
Hunger: Not Hungry
Monster Level: 0
Encumbrance: Unencumbered
Dungeon Number: 2
Level Number: 3
Score: 11698
Alignment: Neutral
Condition: None
]
glyphs[
stairs down far northnortheast
credit card far northnortheast
southwest corner far northeast
dagger far eastnortheast
dart far eastnortheast
stairs up far eastsoutheast
arrow far eastsoutheast
orcish bow far eastsoutheast
crossbow far eastsoutheast
vampire bat corpse far west
giant beetle corpse far west
elven dagger far west
Uruk-hai corpse far westnorthwest
orcish arrow near north
orcish arrows near west
dart near northeast
dagger near northeast
hooded cloak near eastnortheast
horizontal wall near southeast and south
southwest corner near southwest
gnome lord near west
northeast room corner near northwest
vertical wall very near north
fizzy potion very near northeast
arrow very near west
arrow adjacent north
horizontal wall adjacent east
]
message[

]
inventory[
$: 769 gold pieces
b: a crossbow
c: a sling
d: a +0 pair of hard shoes (being worn)
g: a crossbow
i: a sling
l: an uncursed +0 Hawaiian shirt (being worn)
n: a +0 hooded cloak (being worn)
p: an empty bag named #0
s: a +1 iron skull cap (being worn)
x: an empty bag named #1
z: a bow
A: a sling
B: 2 runed daggers
F: a bow
M: a +0 red-eyed shield
P: a +0 large round shield (being worn)
R: a crossbow (weapon in hand)
S: a sling
V: a +0 banded mail (being worn)
X: 54 crossbow bolts
Y: a sling
]
cursor[
Yourself a tourist
]


<|action|>throw
<|observation|>
@@ -55 +55 @@
-
+What do you want to throw? [$bcgizABFRSXY or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>twoweapon
<|observation|>
@@ -55 +55 @@
-What do you want to throw? [$bcgizABFRSXY or ?*]
+In what direction?
<|action|>west
<|observation|>
@@ -39,2 +39 @@
-orcish arrow near north
-orcish arrows near west
+orcish arrow near north and west
@@ -45,0 +45 @@
+arrow near west
@@ -55 +55 @@
-In what direction?
+The crossbow bolt hits the gnome lord.--More--
@@ -78 +78 @@
-X: 54 crossbow bolts
+X: 53 crossbow bolts
<|action|>space
<|observation|>
@@ -14 +14 @@
-Time: 28097
+Time: 28098
@@ -55 +55 @@
-The crossbow bolt hits the gnome lord.--More--
+The gnome lord shoots an arrow!  An arrow misses you.
@@ -82 +82 @@
-
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-The gnome lord shoots an arrow!  An arrow misses you.
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>pay
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -55 +55,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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -55,7 +55 @@
-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)
+
@@ -88 +82 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>swap
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -55 +55,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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -55,7 +55 @@
-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)
+
@@ -88 +82 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>throw
<|observation|>
@@ -55 +55 @@
-
+What do you want to throw? [$bcgizABFRSXY or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>twoweapon
<|observation|>
@@ -55 +55 @@
-What do you want to throw? [$bcgizABFRSXY or ?*]
+In what direction?
<|action|>west
<|observation|>
@@ -14 +14 @@
-Time: 28098
+Time: 28099
@@ -55 +55 @@
-In what direction?
+The crossbow bolt misses the gnome lord.
@@ -78 +78 @@
-X: 53 crossbow bolts
+X: 52 crossbow bolts
@@ -82 +82 @@
-
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-The crossbow bolt misses the gnome lord.
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>pay
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -55 +55,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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -55,7 +55 @@
-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)
+
@@ -88 +82 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>swap
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -55 +55,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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -55,7 +55 @@
-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)
+
@@ -88 +82 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>throw
<|observation|>
@@ -55 +55 @@
-
+What do you want to throw? [$bcgizABFRSXY or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>twoweapon
<|observation|>
@@ -55 +55 @@
-What do you want to throw? [$bcgizABFRSXY or ?*]
+In what direction?
<|action|>west
<|observation|>
@@ -39 +39 @@
-orcish arrow near north and west
+orcish arrow near north
@@ -45,0 +46 @@
+crossbow bolt near west
@@ -55 +56 @@
-In what direction?
+The crossbow bolt misses the gnome lord.--More--
@@ -78 +79 @@
-X: 52 crossbow bolts
+X: 51 crossbow bolts
<|action|>space
<|observation|>
@@ -10 +10 @@
-HP: 72/81
+HP: 73/81
@@ -14 +14 @@
-Time: 28099
+Time: 28100
@@ -56 +56 @@
-The crossbow bolt misses the gnome lord.--More--
+The gnome lord shoots an arrow!  An arrow misses you.
@@ -83 +83 @@
-
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -56 +56 @@
-The gnome lord shoots an arrow!  An arrow misses you.
+What do you want to use or apply? [px or ?*]
@@ -83 +83 @@
-Yourself a tourist
+
<|action|>pay
<|observation|>
@@ -56 +56,7 @@
-What do you want to use or apply? [px 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)
@@ -83 +89 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -56,7 +56 @@
-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--
@@ -89 +83 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -56 +56,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)
@@ -83 +89 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -56,7 +56 @@
-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)
+
@@ -89 +83 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -56 +56 @@
-
+What do you want to use or apply? [px or ?*]
@@ -83 +83 @@
-Yourself a tourist
+
<|action|>swap
<|observation|>
@@ -56 +56,7 @@
-What do you want to use or apply? [px 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)
@@ -83 +89 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -56,7 +56 @@
-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--
@@ -89 +83 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -56 +56,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)
@@ -83 +89 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -56,7 +56 @@
-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)
+
@@ -89 +83 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>throw
<|observation|>
@@ -56 +56 @@
-
+What do you want to throw? [$bcgizABFRSXY or ?*]
@@ -83 +83 @@
-Yourself a tourist
+
<|action|>twoweapon
<|observation|>
@@ -56 +56 @@
-What do you want to throw? [$bcgizABFRSXY or ?*]
+In what direction?
<|action|>west
<|observation|>
@@ -46,2 +46 @@
-crossbow bolt near west
-gnome lord near west
+crossbow bolts near west
@@ -51 +50 @@
-arrow very near west
+gnome lord very near west
@@ -56 +55 @@
-In what direction?
+The crossbow bolt misses the gnome lord.--More--
@@ -79 +78 @@
-X: 51 crossbow bolts
+X: 50 crossbow bolts
<|action|>space
<|observation|>
@@ -51 +51 @@
-arrow adjacent north
+arrow adjacent north and west
@@ -55 +55 @@
-The crossbow bolt misses the gnome lord.--More--
+The gnome lord shoots 2 arrows!  The 1st arrow misses you.--More--
<|action|>space
<|observation|>
@@ -14 +14 @@
-Time: 28100
+Time: 28101
@@ -51 +51 @@
-arrow adjacent north and west
+arrow adjacent north
@@ -55 +55 @@
-The gnome lord shoots 2 arrows!  The 1st arrow misses you.--More--
+The 2nd arrow misses you.
@@ -82 +82 @@
-
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-The 2nd arrow misses you.
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>pay
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -55 +55,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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -55,7 +55 @@
-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)
+
@@ -88 +82 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>swap
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space
<|observation|>
@@ -55 +55,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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>space
<|observation|>
@@ -55,7 +55 @@
-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)
+
@@ -88 +82 @@
-very far westnorthwest 
+Yourself a tourist
<|action|>throw
<|observation|>
@@ -55 +55 @@
-
+What do you want to throw? [$bcgizABFRSXY or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>twoweapon
<|observation|>
@@ -55 +55 @@
-What do you want to throw? [$bcgizABFRSXY or ?*]
+In what direction?
<|action|>west
<|observation|>
@@ -55 +55 @@
-In what direction?
+The crossbow bolt misses the gnome lord.--More--
@@ -78 +78 @@
-X: 50 crossbow bolts
+X: 49 crossbow bolts
<|action|>space
<|observation|>
@@ -14 +14 @@
-Time: 28101
+Time: 28102
@@ -55 +55 @@
-The crossbow bolt misses the gnome lord.--More--
+The gnome lord wields a crude short sword!
@@ -82 +82 @@
-
+Yourself a tourist
<|action|>apply
<|observation|>
@@ -55 +55 @@
-The gnome lord wields a crude short sword!
+What do you want to use or apply? [px or ?*]
@@ -82 +82 @@
-Yourself a tourist
+
<|action|>pay
<|observation|>
@@ -55 +55,7 @@
-What do you want to use or apply? [px 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)
@@ -82 +88 @@
-
+very far westnorthwest 
<|action|>look
<|observation|>
@@ -55,7 +55 @@
-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--
@@ -88 +82 @@
-very far westnorthwest 
+
<|action|>space