import Foundation

let input_line: String = readLine()!
let split: [String] = input_line.components(separatedBy: " ")
let a = Int(split[0])!
let b = Int(split[1])!
if ((b - a*2) % 2 == 0 ){
    print("Yes")
}else{
    print("No")
}
