# Add or remove imports
from easyinput import read

print("=== Jutge tests start here ===")

# Change 'function_name' to your function name,
# and addapt the way input must be read to your needs.
x,y,steps = read(int,int,str)
while x is not None:
    print('walker(%d, %d, "%s") =' % (x,y,steps), walker(x,y,steps))
    x,y,steps = read(int,int,str)

# add some constant tests in case they consumed all input
print("\n=== Additional public tests by Jutge ===")
x,y,steps = (4, 6, "NESNWES")
print('walker(%d, %d, "%s") =' % (x,y,steps), walker(x,y,steps))
x,y,steps = (-3, 10, "EEENSWENESSSSNWNENWSESES")
print('walker(%d, %d, "%s") =' % (x,y,steps), walker(x,y,steps))

