import java.util.Scanner;

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

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

        return;
    }
} import java.util.Scanner; Scanner 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();
        sc.close();

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

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

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

        return;
    } main {
        Scanner sc = new Scanner(System.in);
        int X = sc.nextInt();
        int Y = sc.nextInt();
        sc.close();

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

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

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

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

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

        return;
    }
} Main
import java.util.Scanner;

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

        int bb = (Y - 2 * X);
        if (bb % 2 != 0 || bb < 0) {
            System.out.println("No");
            return;
        }

        int b = bb / 2;
        int a = X - b;

        if (a >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

        return;
    }
}
