Now move each spy according to the number of letters in the name of the state he rests on.
Example:
If the state name contains five letters, make five moves.
Each spy can move
right
or
left
,
up
or
down
, but
not
diagonally.