      PROGRAM piyo
      IMPLICIT NONE
      INTEGER,PARAMETER :: prec = 16
      integer :: numC,numT,x,y
      
      read*,x,y
      
      do numC = 0,100
        do numT = 0,100
          if( numC+numT/=x ) cycle
          
          if( numC*2+numT*4==y )then
            print'(a)','Yes'
            stop
          end if
        end do
      end do
      
      print'(a)','No'
      
      
      
      
      stop
      !debugg
      
      
      
      END PROGRAM