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

public class Main {
    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    }
} Main public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    } main {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); out new PrintWriter(new OutputStreamWriter(System.out)) String[] input = br.readLine().split(" "); input br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int x = Integer.parseInt(input[0]); x Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int y= Integer.parseInt(input[1]); y Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 String ans = "No"; ans "No" for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        } {
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        } if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            } y == 2 * i + 4 * (x - i) y 2 * i + 4 * (x - i) 2 * i 2 i 4 * (x - i) 4 (x - i) x i {
                ans = "Yes";
                break;
            } ans = "Yes" ans "Yes" break; out.println(ans) out.println out ans out.close() out.close out String[] args args public class Main {
    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    }
} public class Main {
    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    }
} Main
import java.util.*;
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        
        String[] input = br.readLine().split(" ");
        int x = Integer.parseInt(input[0]);
        int y= Integer.parseInt(input[1]);
        String ans = "No";
        
        for(int i = 0; i <= x; i++){
            if(y == 2 * i + 4 * (x - i)){
                ans = "Yes";
                break;
            }
        }
        
        out.println(ans);
        out.close();
        
    }
}