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 southeast
Zombie: move east
Player: move southeast
Zombie: move southeast
Player: move southeast
Zombie: move southwest
Player: move southeast
Zombie: move south
Player: move southeast
Zombie: move southwest
Player: move southeast
Zombie: move east
Player: move southeast
Zombie: move south
Player: move south
Zombie: move southeast
Player: move south
Zombie: move southeast
Player: stay
Zombie: move southeast
Player: stay
Zombie: move southeast
Player: stay
Zombie: move southeast
Player: stay
Zombie: move southeast
Player: move north
Zombie: move northeast
Player: move north
Zombie: stay
Player: move north
Zombie: move northeast
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move north
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move west
Player: move northwest
Zombie: move west
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move northwest
Player: move northwest
Zombie: move west
Player: move west
Zombie: move northwest
Player: move west
Zombie: move northwest
Player: move west
Zombie: move southwest
Player: stay
Zombie: move northwest
Player: move east
Zombie: move north
Player: move east
Zombie: move southeast
Player: move east
Zombie: move northeast
Player: move east
Zombie: move northeast
Player: move southeast
Zombie: move southeast
Player: move northeast
Zombie: move northeast
Player: move southeast
Zombie: move southeast
Player: move northeast
Zombie: move northeast
Player: move southeast
Zombie: move southwest
Player: move northeast
Zombie: move northeast
Player: move southeast
Zombie: move southeast
Player: move northeast
Zombie: move north
Player: move southeast
Zombie: move southeast
Player: move northeast
Zombie: move northeast
Player: move southeast
Zombie: move southeast
Player: move north
Zombie: move northeast
Player: move south
Zombie: move southeast