import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} Main public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    } main {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    } try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        } catch(Exception e){
            System.out.println(e);
        } Exception e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strSplit[] = br.readLine().split(" "); strSplit br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int X = Integer.parseInt(strSplit[0]); X Integer.parseInt(strSplit[0]) Integer.parseInt Integer strSplit[0] strSplit 0 int Y = Integer.parseInt(strSplit[1]); Y Integer.parseInt(strSplit[1]) Integer.parseInt Integer strSplit[1] strSplit 1 for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            } int i=0; int i=0; i 0 i<=X i X i++ i++ i {
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            } {
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            } for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                } int j=0; int j=0; j 0 j<=X-i j X-i X i j++ j++ j {
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                } {
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                } if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    } i*2+j*4 == Y && i+j == X i*2+j*4 == Y i*2+j*4 i*2 i 2 j*4 j 4 Y i+j == X i+j i j X {
                        System.out.println("Yes");
                        return;
                    } System.out.println("Yes") System.out.println System.out System System.out "Yes" return; 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) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
} Main
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            
            String strSplit[] = br.readLine().split(" ");
            int X = Integer.parseInt(strSplit[0]);
            int Y = Integer.parseInt(strSplit[1]);
            
            for(int i=0; i<=X; i++){
                for(int j=0; j<=X-i; j++){
                    if(i*2+j*4 == Y && i+j == X){
                        System.out.println("Yes");
                        return;
                    }
                }
            }
            
            System.out.println("No");
            
        }catch(Exception e){
            System.out.println(e);
        }
    }
}