import java.util.Scanner;

class Calc{

  	byte legs;
  	byte animals;
  
  	public Calc(byte legs, byte animals){
    	this.legs = legs;
      	this.animals = animals;
    }
	
	public String combine(){
    	int base = legs - 2*animals;
      
     	if (base<0||base%2!=0||base/2>animals){
        	return "No";
        }else{
        	return "Yes";
        }
    }

}

class Main{
	
	public static void main(String[] args){
    	
      	Scanner scanner = new Scanner(System.in);
      	String str = scanner.nextLine();
    	String[] input_ = str.split(" ", 0);
      	
      	Calc calc = new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0]));
      
      	System.out.print(calc.combine());
    }

} import java.util.Scanner; Scanner java.util class Calc{

  	byte legs;
  	byte animals;
  
  	public Calc(byte legs, byte animals){
    	this.legs = legs;
      	this.animals = animals;
    }
	
	public String combine(){
    	int base = legs - 2*animals;
      
     	if (base<0||base%2!=0||base/2>animals){
        	return "No";
        }else{
        	return "Yes";
        }
    }

} Calc byte legs; legs byte animals; animals public Calc(byte legs, byte animals){
    	this.legs = legs;
      	this.animals = animals;
    } Calc {
    	this.legs = legs;
      	this.animals = animals;
    } this.legs = legs this.legs this this.legs legs this.animals = animals this.animals this this.animals animals byte legs legs byte animals animals public String combine(){
    	int base = legs - 2*animals;
      
     	if (base<0||base%2!=0||base/2>animals){
        	return "No";
        }else{
        	return "Yes";
        }
    } combine {
    	int base = legs - 2*animals;
      
     	if (base<0||base%2!=0||base/2>animals){
        	return "No";
        }else{
        	return "Yes";
        }
    } int base = legs - 2*animals; base legs - 2*animals legs 2*animals 2 animals if (base<0||base%2!=0||base/2>animals){
        	return "No";
        }else{
        	return "Yes";
        } base<0||base%2!=0||base/2>animals base<0||base%2!=0||base/2>animals base<0 base 0 base%2!=0 base%2 base 2 0 base/2>animals base/2 base 2 animals {
        	return "No";
        } return "No"; "No" {
        	return "Yes";
        } return "Yes"; "Yes" class Main{
	
	public static void main(String[] args){
    	
      	Scanner scanner = new Scanner(System.in);
      	String str = scanner.nextLine();
    	String[] input_ = str.split(" ", 0);
      	
      	Calc calc = new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0]));
      
      	System.out.print(calc.combine());
    }

} Main public static void main(String[] args){
    	
      	Scanner scanner = new Scanner(System.in);
      	String str = scanner.nextLine();
    	String[] input_ = str.split(" ", 0);
      	
      	Calc calc = new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0]));
      
      	System.out.print(calc.combine());
    } main {
    	
      	Scanner scanner = new Scanner(System.in);
      	String str = scanner.nextLine();
    	String[] input_ = str.split(" ", 0);
      	
      	Calc calc = new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0]));
      
      	System.out.print(calc.combine());
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String str = scanner.nextLine(); str scanner.nextLine() scanner.nextLine scanner String[] input_ = str.split(" ", 0); input_ str.split(" ", 0) str.split str " " 0 Calc calc = new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0])); calc new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0])) System.out.print(calc.combine()) System.out.print System.out System System.out calc.combine() calc.combine calc String[] args args
import java.util.Scanner;

class Calc{

  	byte legs;
  	byte animals;
  
  	public Calc(byte legs, byte animals){
    	this.legs = legs;
      	this.animals = animals;
    }
	
	public String combine(){
    	int base = legs - 2*animals;
      
     	if (base<0||base%2!=0||base/2>animals){
        	return "No";
        }else{
        	return "Yes";
        }
    }

}

class Main{
	
	public static void main(String[] args){
    	
      	Scanner scanner = new Scanner(System.in);
      	String str = scanner.nextLine();
    	String[] input_ = str.split(" ", 0);
      	
      	Calc calc = new Calc(Byte.parseByte(input_[1]), Byte.parseByte(input_[0]));
      
      	System.out.print(calc.combine());
    }

}