x,y = map(int, input().split())
x1,y1 = map(int, input().split())
if x == x1 and y1-y == 1:
print("u")
elif x == x1 and y1-y == -1:
print("d")
elif x1-x == 1 and y == y1:
print("r")
else:
print("l")
x,y = map(int, input().split())
x1,y1 = map(int, input().split())
if x == x1 and y1-y == 1:
print("u")
elif x == x1 and y1-y == -1:
print("d")
elif x1-x == 1 and y == y1:
print("r")
else:
print("l")