t = int(input()) st = "RRRD" if t <= 4: print(st[:t]) else: t -= 4 nxt = "LLDLDDRRRRUUUULLLLDD" ans = st + nxt*(t//20) + nxt[:t%20] print(ans)