program problemB
  implicit none


integer(8) :: n,m, yr, l, i, k, j,judge, small, kref, r, t, f, ref
integer(8) :: BNUM, RNUM, NMAX, count,MMAX, sum, A, B, C, D,multi,countA,countC
character(len=4) :: color



read(*,*) A,B,C,D


countA=0
countC=0
do while (A>0)
  A=A-D
  countA=countA+1
end do
do while (C>0)
  C=C-B
  countC=countC+1
end do

if (countA>=countC) then
  write(*,*) 'Yes'
else
  write(*,*) 'No'
end if 

stop
end program

; ModuleID = 'FIRModule'
source_filename = "FIRModule"
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"

@_QQcl.1899af18f5ff628749570a045a4dfef5 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1635/source.f\00"
@_QQcl.596573 = linkonce constant [3 x i8] c"Yes"
@_QQcl.4E6F = linkonce constant [2 x i8] c"No"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.1899af18f5ff628749570a045a4dfef5, i32 11)
  %6 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %1, i32 8)
  %7 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %2, i32 8)
  %8 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %3, i32 8)
  %9 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %4, i32 8)
  %10 = call i32 @_FortranAioEndIoStatement(ptr %5)
  %.pr = load i64, ptr %1, align 8, !tbaa !3
  %11 = icmp sgt i64 %.pr, 0
  br i1 %11, label %.lr.ph, label %thread-pre-split

.lr.ph:                                           ; preds = %0
  %12 = load i64, ptr %4, align 8, !tbaa !3
  br label %13

13:                                               ; preds = %.lr.ph, %13
  %.048 = phi i64 [ 0, %.lr.ph ], [ %16, %13 ]
  %14 = phi i64 [ %.pr, %.lr.ph ], [ %15, %13 ]
  %15 = sub i64 %14, %12
  %16 = add i64 %.048, 1
  %17 = icmp sgt i64 %15, 0
  br i1 %17, label %13, label %.thread-pre-split_crit_edge

.thread-pre-split_crit_edge:                      ; preds = %13
  store i64 %15, ptr %1, align 8, !tbaa !3
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %.thread-pre-split_crit_edge, %0
  %.04.lcssa = phi i64 [ %16, %.thread-pre-split_crit_edge ], [ 0, %0 ]
  %.pr7 = load i64, ptr %3, align 8, !tbaa !3
  %18 = icmp sgt i64 %.pr7, 0
  br i1 %18, label %.lr.ph10, label %25

.lr.ph10:                                         ; preds = %thread-pre-split
  %19 = load i64, ptr %2, align 8, !tbaa !3
  br label %20

20:                                               ; preds = %.lr.ph10, %20
  %.09 = phi i64 [ 0, %.lr.ph10 ], [ %23, %20 ]
  %21 = phi i64 [ %.pr7, %.lr.ph10 ], [ %22, %20 ]
  %22 = sub i64 %21, %19
  %23 = add i64 %.09, 1
  %24 = icmp sgt i64 %22, 0
  br i1 %24, label %20, label %._crit_edge

._crit_edge:                                      ; preds = %20
  store i64 %22, ptr %3, align 8, !tbaa !3
  br label %25

25:                                               ; preds = %._crit_edge, %thread-pre-split
  %.0.lcssa = phi i64 [ %23, %._crit_edge ], [ 0, %thread-pre-split ]
  %.not = icmp slt i64 %.04.lcssa, %.0.lcssa
  %. = select i1 %.not, i32 28, i32 26
  %.21 = select i1 %.not, i64 2, i64 3
  %_QQcl.4E6F._QQcl.596573 = select i1 %.not, ptr @_QQcl.4E6F, ptr @_QQcl.596573
  %26 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.1899af18f5ff628749570a045a4dfef5, i32 %.)
  %27 = call i1 @_FortranAioOutputAscii(ptr %26, ptr nonnull %_QQcl.4E6F._QQcl.596573, i64 %.21)
  %28 = call i32 @_FortranAioEndIoStatement(ptr %26)
  %29 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

declare ptr @_FortranAioBeginExternalListInput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioInputInteger(ptr, ptr, i32) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare ptr @_FortranAioBeginExternalListOutput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputAscii(ptr, ptr, i64) local_unnamed_addr

declare {} @_FortranAStopStatement(i32, i1, i1) local_unnamed_addr

attributes #0 = { noreturn }

!llvm.module.flags = !{!0, !1, !2}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{!4, !4, i64 0}
!4 = !{!"any data access", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
