import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	}

} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	} main {
		Scanner s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int X = s.nextInt(); X s.nextInt() s.nextInt s int Y = s.nextInt(); Y s.nextInt() s.nextInt s boolean juge = false; juge false for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		} int x=0; int x=0; x 0 x<=X x X x++ x++ x {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		} {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		} for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			} int y=0; int y=0; y 0 y<=X y X y++ y++ y {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			} {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			} if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				} x+y == X && 2*x + 4*y == Y x+y == X x+y x y X 2*x + 4*y == Y 2*x + 4*y 2*x 2 x 4*y 4 y Y {
					juge =true; break;
				} juge =true juge true break; if(juge) {break;} juge {break;} break; if(juge) {System.out.println("Yes");}
		else {System.out.println("No");} juge {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 s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	}

} public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int X = s.nextInt();
		int Y = s.nextInt();
		boolean juge = false;
		for(int x=0; x<=X; x++) {
			for(int y=0; y<=X; y++) {
				if(x+y == X && 2*x + 4*y == Y) {
					juge =true; break;
				}
			}
			if(juge) {break;}
		}
		if(juge) {System.out.println("Yes");}
		else {System.out.println("No");}
	}

}
