import java.util.Scanner;

public class Main {
	
		public static void main(String[] args) {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		}
} import java.util.Scanner; Scanner java.util public class Main {
	
		public static void main(String[] args) {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		}
} Main public static void main(String[] args) {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		} main {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int animals = scanner.nextInt(); animals scanner.nextInt() scanner.nextInt scanner int legs = scanner.nextInt(); legs scanner.nextInt() scanner.nextInt scanner int cranes = (legs - 2 * animals) / 2; cranes (legs - 2 * animals) / 2 (legs - 2 * animals) legs 2 * animals 2 animals 2 int turtles = animals - cranes; turtles animals - cranes animals cranes boolean result = true; result true if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			} turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0 turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0 turtles * 2 + cranes * 4 != legs turtles * 2 + cranes * 4 turtles * 2 turtles 2 cranes * 4 cranes 4 legs turtles < 0 turtles 0 cranes < 0 cranes 0 {
				result = false;
			} result = false result false String decision = result? "Yes" : "No"; decision result? "Yes" : "No" result "Yes" "No" System.out.print(decision) System.out.print System.out System System.out decision String[] args args public class Main {
	
		public static void main(String[] args) {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		}
} public class Main {
	
		public static void main(String[] args) {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		}
} Main
import java.util.Scanner;

public class Main {
	
		public static void main(String[] args) {
			Scanner scanner = new Scanner(System.in);
			int animals = scanner.nextInt();
			int legs = scanner.nextInt();
			int cranes = (legs - 2 * animals) / 2;
			int turtles = animals - cranes;
			boolean result = true;
			
			if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
				result = false;
			}
			
			String decision = result? "Yes" : "No";
			System.out.print(decision);
		}
}
