
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    }

} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc String ans = "No"; ans "No" for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        } {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        } for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            } int j = 0; int j = 0; j 0 j <= (x - i) j (x - i) x i j++ j++ j {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            } {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            } if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                } ((i + j) == x) && (((2 * i) + (4 * j)) == y) ((i + j) == x) (i + j) i j x (((2 * i) + (4 * j)) == y) ((2 * i) + (4 * j)) (2 * i) 2 i (4 * j) 4 j y {
                    ans = "Yes";
                    break;
                } ans = "Yes" ans "Yes" break; System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    }

} Main

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        String ans = "No";
        for (int i = 0; i <= x; i++) {
            for (int j = 0; j <= (x - i); j++) {
                if (((i + j) == x) && (((2 * i) + (4 * j)) == y)) {
                    ans = "Yes";
                    break;
                }

            }
        }

        System.out.println(ans);
    }

}
