import java.util.*; 
import java.io.*;

public class Main {
    static StringTokenizer st;
    static BufferedReader br;  
    static PrintWriter out;
 
    public static void main(String[] args) throws IOException {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    }
    
      
    public static int nextInt() throws IOException {
        return Integer.parseInt(next());
    }
    public static long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    public static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    }

    static String next() throws IOException {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    static StringTokenizer st;
    static BufferedReader br;  
    static PrintWriter out;
 
    public static void main(String[] args) throws IOException {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    }
    
      
    public static int nextInt() throws IOException {
        return Integer.parseInt(next());
    }
    public static long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    public static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    }

    static String next() throws IOException {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    }
} Main static StringTokenizer st; st static BufferedReader br; br static PrintWriter out; out public static void main(String[] args) throws IOException {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    } main {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    } br = new BufferedReader(new InputStreamReader(System.in)) br new BufferedReader(new InputStreamReader(System.in)) int X = nextInt(); X nextInt() nextInt int Y = nextInt(); Y nextInt() nextInt if(Y<2*X){
            System.out.println("No");
            return;
        } Y<2*X Y 2*X 2 X {
            System.out.println("No");
            return;
        } System.out.println("No") System.out.println System.out System System.out "No" return; if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        } (Y-2*X)%2 == 1 (Y-2*X)%2 (Y-2*X) Y 2*X 2 X 2 1 {
            System.out.println("No");
            return;
        } System.out.println("No") System.out.println System.out System System.out "No" return; int turtle = (Y-2*X)/2; turtle (Y-2*X)/2 (Y-2*X) Y 2*X 2 X 2 if(turtle > X){
            System.out.println("No");
            return;
        } turtle > X turtle X {
            System.out.println("No");
            return;
        } System.out.println("No") System.out.println System.out System System.out "No" return; System.out.println("Yes") System.out.println System.out System System.out "Yes" return; String[] args args public static int nextInt() throws IOException {
        return Integer.parseInt(next());
    } nextInt {
        return Integer.parseInt(next());
    } return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next public static long nextLong() throws IOException {
        return Long.parseLong(next());
    } nextLong {
        return Long.parseLong(next());
    } return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next public static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    } nextDouble {
        return Double.parseDouble(next());
    } return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next static String next() throws IOException {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    } next {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    } while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim()); st == null || !st.hasMoreTokens() st == null st null !st.hasMoreTokens() st.hasMoreTokens() st.hasMoreTokens st st = new StringTokenizer(br.readLine().trim()) st new StringTokenizer(br.readLine().trim()) return st.nextToken(); st.nextToken() st.nextToken st public class Main {
    static StringTokenizer st;
    static BufferedReader br;  
    static PrintWriter out;
 
    public static void main(String[] args) throws IOException {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    }
    
      
    public static int nextInt() throws IOException {
        return Integer.parseInt(next());
    }
    public static long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    public static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    }

    static String next() throws IOException {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    }
} public class Main {
    static StringTokenizer st;
    static BufferedReader br;  
    static PrintWriter out;
 
    public static void main(String[] args) throws IOException {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    }
    
      
    public static int nextInt() throws IOException {
        return Integer.parseInt(next());
    }
    public static long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    public static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    }

    static String next() throws IOException {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    }
} Main
import java.util.*; 
import java.io.*;

public class Main {
    static StringTokenizer st;
    static BufferedReader br;  
    static PrintWriter out;
 
    public static void main(String[] args) throws IOException {
        br = new BufferedReader(new InputStreamReader(System.in));

        int X = nextInt();
        int Y = nextInt();

        //We also consider the case in which there are only cranes or only turtles.
        if(Y<2*X){
            System.out.println("No");
            return;
        }
        if((Y-2*X)%2 == 1){
            System.out.println("No");
            return;
        }

        int turtle = (Y-2*X)/2;
        if(turtle > X){
            System.out.println("No");
            return;
        }
         
        System.out.println("Yes");
        return;
        
    }
    
      
    public static int nextInt() throws IOException {
        return Integer.parseInt(next());
    }
    public static long nextLong() throws IOException {
        return Long.parseLong(next());
    }

    public static double nextDouble() throws IOException {
        return Double.parseDouble(next());
    }

    static String next() throws IOException {
        while (st == null || !st.hasMoreTokens())
            st = new StringTokenizer(br.readLine().trim());
        return st.nextToken();
    }
}