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

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