#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: minsize nofree nounwind optsize uwtable
define dso_local void @loop(i32 noundef %n, i8 noundef signext %c) local_unnamed_addr #0 {
entry:
  %conv = sext i8 %c to i32
  %smax = tail call i32 @llvm.smax.i32(i32 %n, i32 0)
  br label %for.cond

for.cond:                                         ; preds = %for.body, %entry
  %i.0 = phi i32 [ 0, %entry ], [ %inc, %for.body ]
  %exitcond.not = icmp eq i32 %i.0, %smax
  br i1 %exitcond.not, label %for.cond.cleanup, label %for.body

for.cond.cleanup:                                 ; preds = %for.cond
  ret void

for.body:                                         ; preds = %for.cond
  %putchar = tail call i32 @putchar(i32 %conv)
  %inc = add nuw i32 %i.0, 1
  br label %for.cond
}

; 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: minsize nofree nounwind optsize 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) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %b) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %c) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %d) #5
  %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) #6
  %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
  call void @loop(i32 noundef %sub1, i8 noundef signext 85) #6
  call void @loop(i32 noundef %sub, i8 noundef signext 82) #6
  call void @loop(i32 noundef %sub1, i8 noundef signext 68) #6
  %add = add nsw i32 %sub, 1
  call void @loop(i32 noundef %add, i8 noundef signext 76) #6
  %add2 = add nsw i32 %sub1, 1
  call void @loop(i32 noundef %add2, i8 noundef signext 85) #6
  call void @loop(i32 noundef %add, i8 noundef signext 82) #6
  call void @loop(i32 noundef 1, i8 noundef signext 68) #6
  call void @loop(i32 noundef 1, i8 noundef signext 82) #6
  call void @loop(i32 noundef %add2, i8 noundef signext 68) #6
  call void @loop(i32 noundef %add, i8 noundef signext 76) #6
  call void @loop(i32 noundef 1, i8 noundef signext 85) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %d) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %c) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %b) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %a) #5
  ret i32 0
}

; Function Attrs: minsize nofree nounwind optsize
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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

attributes #0 = { minsize nofree nounwind optsize 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 = { minsize nofree nounwind optsize "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { minsize optsize }

!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"}
