import httplib
import json
import commands

# to be used with whats_next
# if whats_next() == WALL:
#     <avoid the wall>

WALL="WALL"

BLANK="BLANK"

HERO="HERO"

X="X"

def f():
    commands.FORWARD()


def r():
    commands.TURN_RIGHT()

def l():
    commands.TURN_LEFT()

def whats_next():
    commands.WHATS_NEXT()

# Write code below this line


