program crane

 implicit none
 integer::x,y,jj,i,ans

 jj=0

 read*,x,y
 
 

 do i=0,x
  ans=2*i+4*(x-i)
  if(x-i>=0) then
   if(ans==y) jj=jj+1
  end if
 end do

 if(jj==0) print*,'No'
 if(jj/=0) print*,'Yes'

end program crane
; 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.b76eeaf1b6cf6c519bf4e9b47d815f21 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1183/source.f\00"
@_QQcl.4E6F = linkonce constant [2 x i8] c"No"
@_QQcl.596573 = linkonce constant [3 x i8] c"Yes"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

define void @_QQmain() local_unnamed_addr {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.b76eeaf1b6cf6c519bf4e9b47d815f21, i32 8)
  %4 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %1, i32 4)
  %5 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %2, i32 4)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %3)
  %7 = load i32, ptr %1, align 4, !tbaa !3
  %8 = icmp sgt i32 %7, -1
  br i1 %8, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %0
  %9 = zext i32 %7 to i64
  %10 = add nuw nsw i64 %9, 1
  %11 = load i32, ptr %2, align 4
  %min.iters.check = icmp ult i32 %7, 7
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %10, -8
  %ind.end = and i64 %10, 7
  %ind.end11 = trunc i64 %n.vec to i32
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %7, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %broadcast.splatinsert15 = insertelement <4 x i32> poison, i32 %7, i64 0
  %broadcast.splat16 = shufflevector <4 x i32> %broadcast.splatinsert15, <4 x i32> poison, <4 x i32> zeroinitializer
  %broadcast.splatinsert17 = insertelement <4 x i32> poison, i32 %11, i64 0
  %broadcast.splat18 = shufflevector <4 x i32> %broadcast.splatinsert17, <4 x i32> poison, <4 x i32> zeroinitializer
  %broadcast.splatinsert19 = insertelement <4 x i32> poison, i32 %11, i64 0
  %broadcast.splat20 = shufflevector <4 x i32> %broadcast.splatinsert19, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %predphi, %vector.body ]
  %vec.phi14 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %predphi21, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %12 = sub <4 x i32> %broadcast.splat, %vec.ind
  %13 = sub <4 x i32> %broadcast.splat16, %step.add
  %14 = shl <4 x i32> %vec.ind, <i32 1, i32 1, i32 1, i32 1>
  %15 = shl <4 x i32> %step.add, <i32 1, i32 1, i32 1, i32 1>
  %16 = shl <4 x i32> %12, <i32 2, i32 2, i32 2, i32 2>
  %17 = shl <4 x i32> %13, <i32 2, i32 2, i32 2, i32 2>
  %18 = add <4 x i32> %16, %14
  %19 = add <4 x i32> %17, %15
  %20 = icmp eq <4 x i32> %18, %broadcast.splat18
  %21 = icmp eq <4 x i32> %19, %broadcast.splat20
  %22 = icmp sgt <4 x i32> %12, <i32 -1, i32 -1, i32 -1, i32 -1>
  %narrow = select <4 x i1> %22, <4 x i1> %20, <4 x i1> zeroinitializer
  %23 = zext <4 x i1> %narrow to <4 x i32>
  %predphi = add <4 x i32> %vec.phi, %23
  %24 = icmp sgt <4 x i32> %13, <i32 -1, i32 -1, i32 -1, i32 -1>
  %narrow22 = select <4 x i1> %24, <4 x i1> %21, <4 x i1> zeroinitializer
  %25 = zext <4 x i1> %narrow22 to <4 x i32>
  %predphi21 = add <4 x i32> %vec.phi14, %25
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %26 = icmp eq i64 %index.next, %n.vec
  br i1 %26, label %middle.block, label %vector.body, !llvm.loop !7

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %predphi21, %predphi
  %27 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %10, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.lr.ph, %middle.block
  %.ph = phi i64 [ %10, %.lr.ph ], [ %ind.end, %middle.block ]
  %.ph23 = phi i32 [ 0, %.lr.ph ], [ %ind.end11, %middle.block ]
  %.08.ph = phi i32 [ 0, %.lr.ph ], [ %27, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %38
  %28 = phi i64 [ %40, %38 ], [ %.ph, %scalar.ph.preheader ]
  %29 = phi i32 [ %39, %38 ], [ %.ph23, %scalar.ph.preheader ]
  %.08 = phi i32 [ %.1, %38 ], [ %.08.ph, %scalar.ph.preheader ]
  %30 = sub i32 %7, %29
  %31 = icmp sgt i32 %30, -1
  br i1 %31, label %32, label %38

32:                                               ; preds = %scalar.ph
  %33 = shl i32 %29, 1
  %34 = shl i32 %30, 2
  %35 = add i32 %34, %33
  %36 = icmp eq i32 %35, %11
  %37 = zext i1 %36 to i32
  %spec.select = add i32 %.08, %37
  br label %38

38:                                               ; preds = %32, %scalar.ph
  %.1 = phi i32 [ %.08, %scalar.ph ], [ %spec.select, %32 ]
  %39 = add nuw i32 %29, 1
  %40 = add nsw i64 %28, -1
  %41 = icmp sgt i64 %28, 1
  br i1 %41, label %scalar.ph, label %._crit_edge, !llvm.loop !10

._crit_edge:                                      ; preds = %38, %middle.block
  %.1.lcssa = phi i32 [ %27, %middle.block ], [ %.1, %38 ]
  %cond = icmp eq i32 %.1.lcssa, 0
  br i1 %cond, label %._crit_edge.thread, label %44

._crit_edge.thread:                               ; preds = %0, %._crit_edge
  %42 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.b76eeaf1b6cf6c519bf4e9b47d815f21, i32 19)
  %43 = call i1 @_FortranAioOutputAscii(ptr %42, ptr nonnull @_QQcl.4E6F, i64 2)
  br label %47

44:                                               ; preds = %._crit_edge
  %45 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.b76eeaf1b6cf6c519bf4e9b47d815f21, i32 20)
  %46 = call i1 @_FortranAioOutputAscii(ptr %45, ptr nonnull @_QQcl.596573, i64 3)
  br label %47

47:                                               ; preds = %._crit_edge.thread, %44
  %.sink = phi ptr [ %42, %._crit_edge.thread ], [ %45, %44 ]
  %48 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  ret void
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }

!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"}
!7 = distinct !{!7, !8, !9}
!8 = !{!"llvm.loop.isvectorized", i32 1}
!9 = !{!"llvm.loop.unroll.runtime.disable"}
!10 = distinct !{!10, !9, !8}
