n=int(input()) for i in range(2*n): if i%2:print("R",flush=True) else:print("D",flush=True) if int(input()):exit()