program tsurukame
read*,ix,iy
if(ix==1)then
if(iy==4)then
   print*,'Yes'
   goto 30
end if
end if
do i=1,ix
   j=ix-i
  if(2*i+4*j==iy)then
   print*,'Yes'
   goto 30
  end if
 
end do
 print*,'No'
30 end program