X,Y,x,y=input().split() while 1:input();print("NS"[Y>y]*(y!=Y)+"WE"[X>x]*(x!=X));x+=(X>x)-(Xy)-(YX)]