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

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