T = int(input()) a = "RRDD" cycle = "RRDDLUDULLUURDUD" if T<=4: ans = a[:T] else: T -= 4 q = T//16 r = T%16 ans = a+q*cycle+cycle[:r] print(ans)