# https://yukicoder.me/problems/no/2228 def append(answer, targets): for t in targets: answer.append(t) def main(): T = int(input()) # 1回目の移動(1, 1) -> (2, 2) answer = [] append(answer, ["D", "D", "U", "R"]) # 2回目の移動(2, 2) -> (3, 3) append(answer, ["D", "D", "U", "R"]) while len(answer) < T: # 3回目の移動 append(answer, ["R", "R", "L", "U"]) # 4回目の移動 append(answer, ["R", "U", "L", "L"]) # 5回目の移動 append(answer, ["L", "L", "R", "D"]) # 6回目の移動 append(answer, ["D", "D", "U", "R"]) answer0 = [] for i in range(T): answer0.append(answer[i]) print("".join(answer0)) if __name__ == "__main__": main()