import Foundation

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

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