Given the available moves based on the current board state in FEN notation, think carefully about which move would be best, then make that move. Be sure to note your color indicated in the FEN notation before deciding.
## Available Moves
g1d1
g1e1
g1f1
g1h1
g1g7
g1g6
g1g5
g1g4
g1g3
g1g2
a2a4
a2a3
h2h3
h2h1
h2g3
b3b4
c4c5
h4g3
h4d8
h4e7
h4f6
h4g5
h4f4
h4g4
h4h3
h4h6
h4h5

## Board State Fen
3r4/6pk/7p/4p3/2P1P2Q/1P3p2/P3qP1K/3q2R1 w - - 0 42
system
You are a chess playing AI.
user
Given the available moves based on the current board state in FEN notation, think carefully about which move would be best, then make that move. Be sure to note your color indicated in the FEN notation before deciding.
## Available Moves
g1d1
g1e1
g1f1
g1h1
g1g7
g1g6
g1g5
g1g4
g1g3
g1g2
a2a4
a2a3
h2h3
h2h1
h2g3
b3b4
c4c5
h4g3
h4d8
h4e7
h4f6
h4g5
h4f4
h4g4
h4h3
h4h6
h4h5

## Board State Fen
3r4/6pk/7p/4p3/2P1P2Q/1P3p2/P3qP1K/3q2R1 w - - 0 42
assistant
g1g7