a,b=map(int,input().split()) c,d=map(int,input().split()) if a > c: print('l') elif a < c: print('r') else: if b > d: print('d') else: print('u')