import sys input = sys.stdin.readline from collections import deque H,W,K,L,R=map(int,input().split()) if (R-L+1)%2!=0: print("No") exit() MAP=[input().strip() for i in range(H)] F=[[1<<30]*W for i in range(H)] BACK=[[-1]*W for i in range(H)] F[0][0]=0 Q=deque() Q.append((0,0)) while Q: x,y=Q.popleft() for z,w in [(x+1,y),(x-1,y),(x,y+1),(x,y-1)]: if 0<=z=1 and MAP[gx-1][gy]==".": ANS3=["U","D"]*((R-L+1)//2) elif gy+1=1 and MAP[gx][gy-1]==".": ANS3=["L","R"]*((R-L+1)//2) ANS=ANS1+ANS3+ANS2 print("Yes") print("".join(ANS))