let xy = readLine()!.split(separator: " ").map { Int($0)! }
let (x, y) = (xy[0], xy[1])

if ((0...x).filter { t in
  let c = x - t
  if 2 * c + 4 * t == y {
    return true
  }
  return false
}.isEmpty) {
  print("No")
} else {
  print("Yes")
}
