import 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();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
      Scanner s = new Scanner(System.in);
        int x = s.nextInt();
        int y = s.nextInt();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    }
} Main public static void main(String[] args) {
      Scanner s = new Scanner(System.in);
        int x = s.nextInt();
        int y = s.nextInt();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    } main {
      Scanner s = new Scanner(System.in);
        int x = s.nextInt();
        int y = s.nextInt();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    } 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 final String YES_STR = "Yes"; YES_STR "Yes" final String NO_STR = "No"; NO_STR "No" if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        } y % 2 == 1 y % 2 y 2 1 {
            System.out.println(NO_STR);
            return;
        } System.out.println(NO_STR) System.out.println System.out System System.out NO_STR return; int totalFoot = 0; totalFoot 0 for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        } int i = 0 ; int i = 0 ; i 0 i <= x i x i++ i++ i {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        } {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        } totalFoot = (i * 4) + ((x - i) * 2) totalFoot (i * 4) + ((x - i) * 2) (i * 4) i 4 ((x - i) * 2) (x - i) x i 2 if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            } totalFoot == y totalFoot y {
                System.out.println(YES_STR);
                return;
            } System.out.println(YES_STR) System.out.println System.out System System.out YES_STR return; System.out.println(NO_STR) System.out.println System.out System System.out NO_STR 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();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    }
} public class Main {
    public static void main(String[] args) {
      Scanner s = new Scanner(System.in);
        int x = s.nextInt();
        int y = s.nextInt();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    }
} Main
import 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();

        final String YES_STR = "Yes";
        final String NO_STR = "No";
        if (y % 2 == 1) {
            System.out.println(NO_STR);
            return;
        }

        int totalFoot = 0;
        // [i]を亀の数、[x-i]を鶴の数とする
        for (int i = 0 ; i <= x ; i++) {
            totalFoot = (i * 4) + ((x - i) * 2);

            if (totalFoot == y) {
                System.out.println(YES_STR);
                return;
            }
        }
        System.out.println(NO_STR);
    }
}