import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    } main {
        Scanner sc = new Scanner(System.in);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) float x = sc.nextFloat(); x sc.nextFloat() sc.nextFloat sc float y = sc.nextFloat(); y sc.nextFloat() sc.nextFloat sc float b = (y-2*x) / 2; b (y-2*x) / 2 (y-2*x) y 2*x 2 x 2 float a = (x-b); a (x-b) x b if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        } b>=0 && b==(int)b b>=0 b 0 b==(int)b b (int)b {

        } {
            System.out.print("No");
            return;
        } System.out.print("No") System.out.print System.out System System.out "No" return; if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        } a>=0 && a==(int)a a>=0 a 0 a==(int)a a (int)a {
            System.out.print("Yes");
        } System.out.print("Yes") System.out.print System.out System System.out "Yes" {
            System.out.print("No");
        } System.out.print("No") System.out.print 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);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    }
} Main
import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float x = sc.nextFloat();
        float y = sc.nextFloat();

        float b = (y-2*x) / 2;
        float a = (x-b);

        if(b>=0 && b==(int)b) {

        } else {
            System.out.print("No");
            return;
        }

        if(a>=0 && a==(int)a) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }
        return;
    }
}