###
#.#
# ####
###$ $.#
#. $@###
####$#
#.#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@$.#
#. $ ###
####$#
#.#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#. $ ###
####$#
#.#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#. $ ###
####$#
#.#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#. $ ###
####$#
#.#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#. $ ###
####$#
#.#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#. $@###
####$#
#.#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#. $ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#. $@###
#### #
#*#
###
Possible directions: LUD - going L ###
#.#
# ####
###$ *#
#.$@ ###
#### #
#*#
###
Possible directions: LRU - going R ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going L ###
#.#
# ####
###$ *#
#.$@ ###
#### #
#*#
###
Possible directions: LRU - going R ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going L ###
#.#
# ####
###$ *#
#.$@ ###
#### #
#*#
###
Possible directions: LRU - going R ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#.$ ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#.$ ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#.$ ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#.$ @###
#### #
#*#
###
Possible directions: LUD - going L ###
#.#
# ####
###$ *#
#.$@ ###
#### #
#*#
###
Possible directions: LRU - going L ###
#.#
# ####
###$ *#
#*@ ###
#### #
#*#
###
Possible directions: R - going R ###
#.#
# ####
###$ *#
#* @ ###
#### #
#*#
###
Possible directions: LRU - going L ###
#.#
# ####
###$ *#
#*@ ###
#### #
#*#
###
Possible directions: R - going R ###
#.#
# ####
###$ *#
#* @ ###
#### #
#*#
###
Possible directions: LRU - going R ###
#.#
# ####
###$ *#
#* @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#* ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#* ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#* ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#* ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#* ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#* @###
#### #
#*#
###
Possible directions: LUD - going D ###
#.#
# ####
###$ *#
#* ###
####@#
#*#
###
Possible directions: U - going U ###
#.#
# ####
###$ *#
#* @###
#### #
#*#
###
Possible directions: LUD - going U ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going R ###
#.#
# ####
###$ @*#
#* ###
#### #
#*#
###
Possible directions: L - going L ###
#.#
# ####
###$@ *#
#* ###
#### #
#*#
###
Possible directions: RD - going D ###
#.#
# ####
###$ *#
#* @###
#### #
#*#
###
Possible directions: LUD - going L ###
#.#
# ####
###$ *#
#* @ ###
#### #
#*#
###
Possible directions: LRU - going L ###
#.#
# ####
###$ *#
#*@ ###
#### #
#*#
###
Possible directions: R - going R ###
#.#
# ####
###$ *#
#* @ ###
#### #
#*#
###
Possible directions: LRU - going R ###
#.#
# ####
###$ *#
#* @###
#### #
#*#
###
Possible directions: LUD - going L ###
#.#
# ####
###$ *#
#* @ ###
#### #
#*#
###
Possible directions: LRU - going L