// package atcoder;

import java.util.Scanner;

public class Main {

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

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} Main public static void main(String[] args) {
        final Scanner in = new Scanner(System.in);
        final int X = in.nextInt();
        final int Y = in.nextInt();

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    } main {
        final Scanner in = new Scanner(System.in);
        final int X = in.nextInt();
        final int Y = in.nextInt();

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    } final Scanner in = new Scanner(System.in); in new Scanner(System.in) final int X = in.nextInt(); X in.nextInt() in.nextInt in final int Y = in.nextInt(); Y in.nextInt() in.nextInt in for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        } int k = 0; int k = 0; k 0 k <= X k X ++k ++k k {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        } {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        } if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            } 2*k + 4*(X - k) == Y 2*k + 4*(X - k) 2*k 2 k 4*(X - k) 4 (X - k) X k Y {
                System.out.println("Yes");
                return;
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" return; 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) {
        final Scanner in = new Scanner(System.in);
        final int X = in.nextInt();
        final int Y = in.nextInt();

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} public class Main {

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

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} Main
// package atcoder;

import java.util.Scanner;

public class Main {

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

        for (int k = 0; k <= X; ++k) {
            if (2*k + 4*(X - k) == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
}
