import Foundation
 
let input_line: String = readLine()!
let split: [String] = input_line.components(separatedBy: " ")
 
let x = Double(split[0])!
let y = Double(split[1])!

if (0.5*y-x>0 && 2*x-0.5*y>0 || 0.5*y-x>0 && 2*x-0.5*y==0 || 0.5*y-x==0 && 2*x-0.5*y>0){
    print("Yes")
}else{
    print("No")
}
