import java.util.Scanner;
import java.util.Random;

public class Main{
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
} import java.util.Scanner; Scanner java.util import java.util.Random; Random java.util public class Main{
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
} Main public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    } main {
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    } Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int e=b%2; e b%2 b 2 int c=0; c 0 int flg=0; flg 0 if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        } e==0 && a!=0 && b!=0 e==0 && a!=0 && b!=0 e==0 e 0 a!=0 a 0 b!=0 b 0 {
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        } for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            } int i=0; int i=0; i 0 i<=a i a i++ i++ i {
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            } {
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            } c=4*(a-i)+2*i c 4*(a-i)+2*i 4*(a-i) 4 (a-i) a i 2*i 2 i if(b==c){
                    flg=1;
                } b==c b c {
                    flg=1;
                } flg=1 flg 1 if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            } flg==1 flg 1 {
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;
import java.util.Random;

public class Main{
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        int e=b%2;
        int c=0;
        int flg=0;
        if(e==0 && a!=0 && b!=0){
            for(int i=0; i<=a; i++){
                c=4*(a-i)+2*i;
                if(b==c){
                    flg=1;
                }
            }
            if(flg==1){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
    }
}