import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }

    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }

    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} Main public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    } main {
        Main main = new Main();
        main.solve();
    } Main main = new Main(); main new Main() main.solve() main.solve main String[] args args public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    } solve {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    } Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(System.in))) int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int Y = scan.nextInt(); Y scan.nextInt() scan.nextInt scan for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        } int i = 0; int i = 0; i 0 i <= X i X i++ i++ i {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        } {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        } int total = i * 2 + (X - i) * 4; total i * 2 + (X - i) * 4 i * 2 i 2 (X - i) * 4 (X - i) X i 4 if (total == Y) {
                System.out.println("Yes");
                return;
            } total == Y total 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" public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }

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

    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solve();
    }

    public void solve() {
        Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        int X = scan.nextInt();
        int Y = scan.nextInt();
        for (int i = 0; i <= X; i++) {
            int total = i * 2 + (X - i) * 4;
            if (total == Y) {
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
    }
}
