import java.util.Scanner;

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

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int X = s.nextInt();
        int Y = s.nextInt();

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int X = s.nextInt();
        int Y = s.nextInt();

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    } main {
        Scanner s = new Scanner(System.in);
        int X = s.nextInt();
        int Y = s.nextInt();

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int X = s.nextInt(); X s.nextInt() s.nextInt s int Y = s.nextInt(); Y s.nextInt() s.nextInt s int a = (-Y + 4 * X) / 2; a (-Y + 4 * X) / 2 (-Y + 4 * X) -Y Y 4 * X 4 X 2 int b = (Y - 2 * X) / 2; b (Y - 2 * X) / 2 (Y - 2 * X) Y 2 * X 2 X 2 if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0 a >= 0 a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0 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 a >= 0 a 0 b >= 0 b 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" s.close() s.close s String[] args args public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int X = s.nextInt();
        int Y = s.nextInt();

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int X = s.nextInt();
        int Y = s.nextInt();

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    }
} Main
import java.util.Scanner;

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

        int a = (-Y + 4 * X) / 2;
        int b = (Y - 2 * X) / 2;
        if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        s.close();
    }
}