program main
	implicit none
	integer(8):: X,Y,A,B,C,N,i,j,t,k,D,E
	read *, X,Y
	
   	if(mod(Y,2)==1)then
   	print'(a)',"No"
   	stop
   	end if
   	if((2*X-Y/2)>=0.and.(Y/2-X)>=0)then
  	print'(a)',"Yes"
  	stop
  	else 
  	print'(a)',"No"
	stop
    end if
	
end program main
; 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.f7907b888280747429dfd09ba36c557b = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1185/source.f\00"
@_QQcl.286129 = linkonce constant [3 x i8] c"(a)"
@_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

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.f7907b888280747429dfd09ba36c557b, i32 4)
  %4 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %1, i32 8)
  %5 = call i1 @_FortranAioInputInteger(ptr %3, ptr nonnull %2, i32 8)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %3)
  %7 = load i64, ptr %2, align 8, !tbaa !3
  %8 = and i64 %7, -9223372036854775807
  %9 = icmp eq i64 %8, 1
  br i1 %9, label %10, label %15

10:                                               ; preds = %0
  %11 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.f7907b888280747429dfd09ba36c557b, i32 7)
  %12 = call i1 @_FortranAioOutputAscii(ptr %11, ptr nonnull @_QQcl.4E6F, i64 2)
  %13 = call i32 @_FortranAioEndIoStatement(ptr %11)
  %14 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable

15:                                               ; preds = %0
  %16 = load i64, ptr %1, align 8, !tbaa !3
  %17 = shl i64 %16, 1
  %18 = sdiv i64 %7, 2
  %19 = sub i64 %17, %18
  %20 = sub i64 %18, %16
  %21 = or i64 %19, %20
  %22 = icmp sgt i64 %21, -1
  br i1 %22, label %23, label %28

23:                                               ; preds = %15
  %24 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.f7907b888280747429dfd09ba36c557b, i32 11)
  %25 = call i1 @_FortranAioOutputAscii(ptr %24, ptr nonnull @_QQcl.596573, i64 3)
  %26 = call i32 @_FortranAioEndIoStatement(ptr %24)
  %27 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable

28:                                               ; preds = %15
  %29 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.286129, i64 3, ptr null, i32 -1, ptr nonnull @_QQcl.f7907b888280747429dfd09ba36c557b, i32 14)
  %30 = call i1 @_FortranAioOutputAscii(ptr %29, ptr nonnull @_QQcl.4E6F, i64 2)
  %31 = call i32 @_FortranAioEndIoStatement(ptr %29)
  %32 = 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 @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, 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"}
