# INTENTIONAL LOGIC ERROR: hides a second corner alert. Valid in-map input domain.
x = int(input())
y = int(input())
if x <= 4:
    print("West edge")
elif x >= 76:
    print("East edge")
elif y <= 4:
    print("South edge")
elif y >= 36:
    print("North edge")
else:
    print("Interior")
