let xy = readLine()!.split(separator: " ").map{Int($0)!}
let x = xy[0]
let y = xy[1]
for numOfBirds in 0...x {
    if y == 2 * numOfBirds + 4 * (x - numOfBirds) {
        print("Yes")
        break
    } else {
        print("No")
    }
}
