import Foundation

let input_line: String = readLine()!
let split: [String] = input_line.components(separatedBy: " ")

let x = Int(split[0])!
let y = Int(split[1])!
let a = y - 2*x

if(a % 2 == 0 && a >= 0 && a <= 2*x){
  print("Yes")
}else{
  print("No")
}