import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int a = 0;
        int b = 0;
        int c = 0;
        for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        }
        if ( c >= 1) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int a = 0;
        int b = 0;
        int c = 0;
        for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        }
        if ( c >= 1) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int a = 0;
        int b = 0;
        int c = 0;
        for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        }
        if ( c >= 1) {
            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 a = 0;
        int b = 0;
        int c = 0;
        for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        }
        if ( c >= 1) {
            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 a = 0; a 0 int b = 0; b 0 int c = 0; c 0 for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        } int i = 0; int i = 0; i 0 i < 101 i 101 i++ i++ i {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        } {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        } a = i a i for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            } int j = 0; int j = 0; j 0 j < 101 j 101 j++ j++ j {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            } {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            } b=j b j if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                } a+b == X && 2*a+4*b == Y a+b == X a+b a b X 2*a+4*b == Y 2*a+4*b 2*a 2 a 4*b 4 b Y {
                    c = c + 1;
                } c = c + 1 c c + 1 c 1 {
                    c = c;
                } c = c c c if ( c >= 1) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } c >= 1 c 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" String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int a = 0;
        int b = 0;
        int c = 0;
        for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        }
        if ( c >= 1) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        int a = 0;
        int b = 0;
        int c = 0;
        for (int i = 0; i < 101; i++) {
            a = i;
            for (int j = 0; j < 101; j++) {
                b=j;
                if (a+b == X && 2*a+4*b == Y) {
                    c = c + 1;
                } else {
                    c = c;
                }
            }
        }
        if ( c >= 1) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;

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