program ABC070B
    implicit none
    integer(8)::X,Y,i,flg
    flg=0
    read*,X,Y
    do i=0,X
        if(2*i+4*(X-i)==Y)flg=1
    end do

    if(flg==0)print'(A)',"No"
    if(flg==1)print'(A)',"Yes"
end program ABC070B