// Crane and Turtle

func main() {
    let xy = readLine()!.split(separator: " ").map{Int($0)!}
    let (x,y) = (xy[0], xy[1])

    for i in 0...x {
        if i * 4 + (x - i) * 2 == y {
            print('Yes)')
            return
        }
    }
    print('No')
}

main()