import java.util.*;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} import java.util.*; util.* java public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} Main public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	} main {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	} Scanner keyboard = new Scanner(System.in); keyboard new Scanner(System.in) int X  = keyboard.nextInt(); X keyboard.nextInt() keyboard.nextInt keyboard int Y  = keyboard.nextInt(); Y keyboard.nextInt() keyboard.nextInt keyboard int turu = 2; turu 2 int kame = 4; kame 4 String ans = "No"; ans "No" for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		} int i=0; int i=0; i 0 i<X+1 i X+1 X 1 i++ i++ i {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		} {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		} if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			} i*turu + (X-i)*kame == Y i*turu + (X-i)*kame i*turu i turu (X-i)*kame (X-i) X i kame Y {
				ans = "Yes";
			} ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans keyboard.close() keyboard.close keyboard String[] args args public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} Main
import java.util.*;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int X  = keyboard.nextInt();
		int Y  = keyboard.nextInt();

		int turu = 2;
		int kame = 4;
		
		String ans = "No";
		
		for(int i=0; i<X+1; i++) {
			if(i*turu + (X-i)*kame == Y) {
				ans = "Yes";
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
}
