import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");

	}

} import java.util.Scanner; Scanner 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();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		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();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");

	} main {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		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 for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		} int i=0; int i=0; i 0 i<=x i x i++ i++ i {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		} {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		} int turu = x - i; turu x - i x i if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			} 2 * turu + 4 * i == y 2 * turu + 4 * i 2 * turu 2 turu 4 * i 4 i y {
				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" 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();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		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();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");

	}

} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		for(int i=0;i<=x;i++) {
			int turu = x - i;
			if(2 * turu + 4 * i == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");

	}

}
