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();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
} 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();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    } 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 sc.close() sc.close sc if (Y % 2 == 1) {
            System.out.println("No");
            return;
        } Y % 2 == 1 Y % 2 Y 2 1 {
            System.out.println("No");
            return;
        } System.out.println("No") System.out.println System.out System System.out "No" return; double ans = Y / 2 - X; ans Y / 2 - X Y / 2 Y 2 X if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        } ans < 0 || ans > X || ans % 1 != 0 ans < 0 || ans > X || ans % 1 != 0 ans < 0 ans 0 ans > X ans X ans % 1 != 0 ans % 1 ans 1 0 {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" 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();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
} 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();
        sc.close();

        if (Y % 2 == 1) {
            System.out.println("No");
            return;
        }

        double ans = Y / 2 - X;

        if (ans < 0 || ans > X || ans % 1 != 0) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }
    }
}
