import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	}

} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	}

} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	} main {
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int sa = y - (x * 2); sa y - (x * 2) y (x * 2) x 2 int kame = sa /2; kame sa /2 sa 2 int turu = x -kame; turu x -kame x kame if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		} (sa%2==0) && kame >= 0&& turu >= 0 (sa%2==0) && kame >= 0&& turu >= 0 (sa%2==0) sa%2 sa 2 0 kame >= 0 kame 0 turu >= 0 turu 0 {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	}

} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	}

} Main
import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		
		int x = scan.nextInt();
		int y = scan.nextInt();


		int sa = y - (x * 2);
		int kame = sa /2;
		int turu = x -kame;
		if( (sa%2==0) && kame >= 0&& turu >= 0) {
			System.out.println("Yes");
		} else{
			System.out.println("No");
		}

	}

}