program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: x,y,a,b


    read*, x,y

    do a=0,x
        b = x-a
        if (2*a+4*b == y) then
            print'(a)', 'Yes'
            stop
        end if
    end do
    print'(a)', 'No'

end program main