#import <stdio.h>
typedef long long INT;
void loop(int n, char c){
    for(int i=0;i<n;i++) printf("%c", c);
}
int main(){
    int a,b,c,d;
    scanf("%d %d %d %d",&a,&b,&c,&d);
    int x = c-a;
    int y = d-b;
    loop(y,'U');
    loop(x,'R');
    loop(y,'D');
    loop(x+1,'L');
    loop(y+1,'U');
    loop(x+1,'R');
    loop(1,'D');
    loop(1,'R');
    loop(y+1,'D');
    loop(x+1,'L');
    loop(1,'U');
}

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_852/source.m'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/ObjectiveC/Source_852/source.m"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@.str.1 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @loop(i32 noundef %n, i8 noundef signext %c) local_unnamed_addr #0 {
entry:
  %cmp2 = icmp sgt i32 %n, 0
  br i1 %cmp2, label %for.body.lr.ph, label %for.cond.cleanup

for.body.lr.ph:                                   ; preds = %entry
  %conv = sext i8 %c to i32
  br label %for.body

for.cond.cleanup:                                 ; preds = %for.body, %entry
  ret void

for.body:                                         ; preds = %for.body.lr.ph, %for.body
  %i.03 = phi i32 [ 0, %for.body.lr.ph ], [ %inc, %for.body ]
  %putchar = tail call i32 @putchar(i32 %conv)
  %inc = add nuw nsw i32 %i.03, 1
  %exitcond.not = icmp eq i32 %inc, %n
  br i1 %exitcond.not, label %for.cond.cleanup, label %for.body
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nofree nounwind uwtable
define dso_local i32 @main() local_unnamed_addr #0 {
entry:
  %a = alloca i32, align 4
  %b = alloca i32, align 4
  %c = alloca i32, align 4
  %d = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %a) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %b) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %c) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %d) #4
  %call = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %a, ptr noundef nonnull %b, ptr noundef nonnull %c, ptr noundef nonnull %d)
  %0 = load i32, ptr %c, align 4, !tbaa !5
  %1 = load i32, ptr %a, align 4, !tbaa !5
  %sub = sub nsw i32 %0, %1
  %2 = load i32, ptr %d, align 4, !tbaa !5
  %3 = load i32, ptr %b, align 4, !tbaa !5
  %sub1 = sub nsw i32 %2, %3
  %cmp2.i = icmp sgt i32 %sub1, 0
  br i1 %cmp2.i, label %for.body.i, label %loop.exit

for.body.i:                                       ; preds = %entry, %for.body.i
  %i.03.i = phi i32 [ %inc.i, %for.body.i ], [ 0, %entry ]
  %putchar.i = call i32 @putchar(i32 85)
  %inc.i = add nuw nsw i32 %i.03.i, 1
  %exitcond.not.i = icmp eq i32 %inc.i, %sub1
  br i1 %exitcond.not.i, label %loop.exit, label %for.body.i

loop.exit:                                        ; preds = %for.body.i, %entry
  %cmp2.i12 = icmp sgt i32 %sub, 0
  br i1 %cmp2.i12, label %for.body.i14, label %loop.exit19

for.body.i14:                                     ; preds = %loop.exit, %for.body.i14
  %i.03.i15 = phi i32 [ %inc.i17, %for.body.i14 ], [ 0, %loop.exit ]
  %putchar.i16 = call i32 @putchar(i32 82)
  %inc.i17 = add nuw nsw i32 %i.03.i15, 1
  %exitcond.not.i18 = icmp eq i32 %inc.i17, %sub
  br i1 %exitcond.not.i18, label %loop.exit19, label %for.body.i14

loop.exit19:                                      ; preds = %for.body.i14, %loop.exit
  br i1 %cmp2.i, label %for.body.i22, label %loop.exit27

for.body.i22:                                     ; preds = %loop.exit19, %for.body.i22
  %i.03.i23 = phi i32 [ %inc.i25, %for.body.i22 ], [ 0, %loop.exit19 ]
  %putchar.i24 = call i32 @putchar(i32 68)
  %inc.i25 = add nuw nsw i32 %i.03.i23, 1
  %exitcond.not.i26 = icmp eq i32 %inc.i25, %sub1
  br i1 %exitcond.not.i26, label %loop.exit27, label %for.body.i22

loop.exit27:                                      ; preds = %for.body.i22, %loop.exit19
  %cmp2.i28 = icmp sgt i32 %sub, -1
  br i1 %cmp2.i28, label %for.body.i30, label %loop.exit35

for.body.i30:                                     ; preds = %loop.exit27, %for.body.i30
  %i.03.i31 = phi i32 [ %inc.i33, %for.body.i30 ], [ 0, %loop.exit27 ]
  %putchar.i32 = call i32 @putchar(i32 76)
  %inc.i33 = add nuw nsw i32 %i.03.i31, 1
  %exitcond.not.i34 = icmp eq i32 %i.03.i31, %sub
  br i1 %exitcond.not.i34, label %loop.exit35, label %for.body.i30

loop.exit35:                                      ; preds = %for.body.i30, %loop.exit27
  %cmp2.i36 = icmp sgt i32 %sub1, -1
  br i1 %cmp2.i36, label %for.body.i38, label %loop.exit43

for.body.i38:                                     ; preds = %loop.exit35, %for.body.i38
  %i.03.i39 = phi i32 [ %inc.i41, %for.body.i38 ], [ 0, %loop.exit35 ]
  %putchar.i40 = call i32 @putchar(i32 85)
  %inc.i41 = add nuw nsw i32 %i.03.i39, 1
  %exitcond.not.i42 = icmp eq i32 %i.03.i39, %sub1
  br i1 %exitcond.not.i42, label %loop.exit43, label %for.body.i38

loop.exit43:                                      ; preds = %for.body.i38, %loop.exit35
  br i1 %cmp2.i28, label %for.body.i46, label %loop.exit51

for.body.i46:                                     ; preds = %loop.exit43, %for.body.i46
  %i.03.i47 = phi i32 [ %inc.i49, %for.body.i46 ], [ 0, %loop.exit43 ]
  %putchar.i48 = call i32 @putchar(i32 82)
  %inc.i49 = add nuw nsw i32 %i.03.i47, 1
  %exitcond.not.i50 = icmp eq i32 %i.03.i47, %sub
  br i1 %exitcond.not.i50, label %loop.exit51, label %for.body.i46

loop.exit51:                                      ; preds = %for.body.i46, %loop.exit43
  %putchar.i55 = call i32 @putchar(i32 68)
  %putchar.i62 = call i32 @putchar(i32 82)
  br i1 %cmp2.i36, label %for.body.i68, label %loop.exit73

for.body.i68:                                     ; preds = %loop.exit51, %for.body.i68
  %i.03.i69 = phi i32 [ %inc.i71, %for.body.i68 ], [ 0, %loop.exit51 ]
  %putchar.i70 = call i32 @putchar(i32 68)
  %inc.i71 = add nuw nsw i32 %i.03.i69, 1
  %exitcond.not.i72 = icmp eq i32 %i.03.i69, %sub1
  br i1 %exitcond.not.i72, label %loop.exit73, label %for.body.i68

loop.exit73:                                      ; preds = %for.body.i68, %loop.exit51
  br i1 %cmp2.i28, label %for.body.i76, label %loop.exit81

for.body.i76:                                     ; preds = %loop.exit73, %for.body.i76
  %i.03.i77 = phi i32 [ %inc.i79, %for.body.i76 ], [ 0, %loop.exit73 ]
  %putchar.i78 = call i32 @putchar(i32 76)
  %inc.i79 = add nuw nsw i32 %i.03.i77, 1
  %exitcond.not.i80 = icmp eq i32 %i.03.i77, %sub
  br i1 %exitcond.not.i80, label %loop.exit81, label %for.body.i76

loop.exit81:                                      ; preds = %for.body.i76, %loop.exit73
  %putchar.i85 = call i32 @putchar(i32 85)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %d) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %c) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %b) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %a) #4
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3

attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind }
attributes #4 = { nounwind }

!llvm.linker.options = !{}
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"Ubuntu clang version 18.0.0 (++20231007042255+8abb2ace888b-1~exp1~20231007042414.1230)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
