import java.util.Scanner;

import javax.xml.transform.OutputKeys;

public class Main {

	public static void main(final String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt(), y = sc.nextInt();
		boolean ok = false;
		for (int i=0;i<=100;i++) {
			for (int j=0;j<=100;j++) {
				if (i + j == x && i * 2 + j * 4 == y) {
					ok = true;
					break;
				}
			}
		}
		if (ok)
		System.out.println("Yes");
		else 
			System.out.println("No");
	}
} import java.util.Scanner; Scanner java.util import javax.xml.transform.OutputKeys; OutputKeys javax.xml.transform public class Main {

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

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

	public static void main(final String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt(), y = sc.nextInt();
		boolean ok = false;
		for (int i=0;i<=100;i++) {
			for (int j=0;j<=100;j++) {
				if (i + j == x && i * 2 + j * 4 == y) {
					ok = true;
					break;
				}
			}
		}
		if (ok)
		System.out.println("Yes");
		else 
			System.out.println("No");
	}
} Main
import java.util.Scanner;

import javax.xml.transform.OutputKeys;

public class Main {

	public static void main(final String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt(), y = sc.nextInt();
		boolean ok = false;
		for (int i=0;i<=100;i++) {
			for (int j=0;j<=100;j++) {
				if (i + j == x && i * 2 + j * 4 == y) {
					ok = true;
					break;
				}
			}
		}
		if (ok)
		System.out.println("Yes");
		else 
			System.out.println("No");
	}
}
