import java.math.BigInteger;
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());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    }
} import java.math.BigInteger; BigInteger java.math 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());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    }
} 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());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    } main {
        Scanner sc = new Scanner(System.in);
        int X = Integer.parseInt(sc.next());
        int Y = Integer.parseInt(sc.next());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    } 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 for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        } int i = 0; int i = 0; i 0 i <= X i X i++ i++ i {
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        } {
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        } int j = X - i; j X - i X i if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            } 2*i+4*j==Y 2*i+4*j 2*i 2 i 4*j 4 j 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" return; 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());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    }
} 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());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    }
} Main
import java.math.BigInteger;
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());
        for(int i = 0; i <= X;i++){
            int j = X - i;
            if(2*i+4*j==Y){
                System.out.println("Yes");
                return;
            }
        }
        System.out.println("No");
        return;
    }
}