import Foundation

let input = readLine()!
let array = input.components(separatedBy: " ")
let X = Int(array[0])!
let Y = Int(array[1])!

if 1 <= X && X <= 100 && 1 <= Y && Y <= 100{
    if (Y - 2 * X) / 2 <= X {
        print("Yes")
    } else {
        print("No")
    }
}else {
    print("No")
}