You are a helpful assistant that flees zombies. You will be given a grid represented by a series of symbols.
The symbols represent:
- Zombie: Z
- Player: @
- Empty space: .

Your task is to output the sequence of actions (move north/south/east/west/northwest/northeast/southeast/southwest/stay) to avoid the zombie while staying within the grid boundaries and only on empty spaces. Output only the cardinal direction. You will take turns with the zombie, separated by newlines. None indicates staying on the same spot.
GRID:
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . @ . . . . . . . . .
. Z . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .

GRID ACTIONS:
Player: move northeast
Zombie: move northeast
Player: move northeast
Zombie: move northeast
Player: move northeast
Zombie: move southeast
Player: move northeast
Zombie: move southeast
Player: move northeast
Zombie: move northeast
Player: move northeast
Zombie: move northeast
Player: move northeast
Zombie: move north
Player: move northeast
Zombie: move northeast
Player: move east
Zombie: move northwest
Player: stay
Zombie: move northeast
Player: stay
Zombie: move northeast
Player: stay
Zombie: move north
Player: stay
Zombie: move northeast
Player: move south
Zombie: move southeast
Player: move north
Zombie: move northeast
Player: move south
Zombie: move east
Player: move south
Zombie: move southwest
Player: move south
Zombie: move southeast
Player: move south
Zombie: move southeast
Player: move south
Zombie: move southeast
Player: move southwest
Zombie: move southwest
Player: move southwest
Zombie: move southeast
Player: move southwest
Zombie: move southwest
Player: move southwest
Zombie: move northwest
Player: move southwest
Zombie: move southwest
Player: move southwest
Zombie: move southwest
Player: move southwest
Zombie: move northwest
Player: move southwest
Zombie: move south
Player: move southwest
Zombie: move southeast
Player: move southwest
Zombie: move southeast
Player: move west
Zombie: move southwest
Player: move west
Zombie: move southwest
Player: move west
Zombie: move southwest
Player: move west
Zombie: move southwest
Player: move west
Zombie: move northwest
Player: stay
Zombie: move southwest
Player: stay
Zombie: move southwest
Player: move north
Zombie: move northwest
Player: move north
Zombie: move northwest
Player: move north
Zombie: move southwest
Player: move north
Zombie: move northeast
Player: move north
Zombie: move northeast
Player: move north
Zombie: move northwest
Player: move north
Zombie: move northeast
Player: move north
Zombie: move northwest
Player: move north
Zombie: move northwest
Player: move north
Zombie: move southwest
Player: move north
Zombie: move northwest
Player: move northeast
Zombie: move northeast