import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	}
} Main public static void main(String[] args){
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	} main {
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	} Scanner in = new java.util.Scanner(System.in); in new java.util.Scanner(System.in) int X = in.nextInt(); X in.nextInt() in.nextInt in int Y = in.nextInt(); Y in.nextInt() in.nextInt in int B = Y - 2*X; B Y - 2*X Y 2*X 2 X if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		} B>=0 &&  B%2==0 B>=0 B 0 B%2==0 B%2 B 2 0 {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		} int b = B/2; b B/2 B 2 if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			} X-b >= 0 X-b X b 0 {
				System.out.println("Yes");
				System.exit(0);
			} System.out.println("Yes") System.out.println System.out System System.out "Yes" System.exit(0) System.exit System 0 System.out.println("No") System.out.println System.out System System.out "No" in.close() in.close in String[] args args public class Main {
	public static void main(String[] args){
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	}
} public class Main {
	public static void main(String[] args){
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		
		Scanner in = new java.util.Scanner(System.in);
		int X = in.nextInt();
		int Y = in.nextInt();
		int B = Y - 2*X;
		if(B>=0 &&  B%2==0) {
			int b = B/2;
			if(X-b >= 0) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
		
		in.close();
	}
}
