import java.util.*;

public class Main {
    public static void main(String[] args ) throws Exception {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        }
    } import java.util.*; util.* java public class Main {
    public static void main(String[] args ) throws Exception {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        }
    } Main public static void main(String[] args ) throws Exception {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        } main {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc int leg = 0; leg 0 int count = X; count X boolean flag = false; flag false if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } Y == X*2 || Y == X*4 Y == X*2 Y X*2 X 2 Y == X*4 Y X*4 X 4 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            } int i = 1; int i = 1; i 1 i <= X i X i++ i++ i {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            } {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            } leg = (count - i) * 2 leg (count - i) * 2 (count - i) count i 2 leg += (count - (count - i))*4 leg (count - (count - i))*4 (count - (count - i)) count (count - i) count i 4 if (leg == Y) {
                    flag = true;
                    break;
                } leg == Y leg Y {
                    flag = true;
                    break;
                } flag = true flag true break; if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            } flag {
                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" String[] args args public class Main {
    public static void main(String[] args ) throws Exception {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        }
    } public class Main {
    public static void main(String[] args ) throws Exception {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        }
    } Main
import java.util.*;

public class Main {
    public static void main(String[] args ) throws Exception {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int leg = 0;
        int count = X;
        boolean flag = false;

        if(Y == X*2 || Y == X*4){
            System.out.println("Yes");
        } else {
            for(int i = 1;i <= X;i++) {
                leg = (count - i) * 2;
                leg += (count - (count - i))*4;
                if (leg == Y) {
                    flag = true;
                    break;
                }
            }
            if(flag){
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
        }
    }