import java.io.*;
import java.util.*;

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

		int x = in.nextInt();
		int y = in.nextInt();


		for (int a=0; a<=x; a++) {
			int b = x - a;
			if (2*a + 4*b == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
	}
}
 import java.io.*; io.* java import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);

		int x = in.nextInt();
		int y = in.nextInt();


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

		int x = in.nextInt();
		int y = in.nextInt();


		for (int a=0; a<=x; a++) {
			int b = x - a;
			if (2*a + 4*b == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
	} main {
		Scanner in = new Scanner(System.in);

		int x = in.nextInt();
		int y = in.nextInt();


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

		int x = in.nextInt();
		int y = in.nextInt();


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

		int x = in.nextInt();
		int y = in.nextInt();


		for (int a=0; a<=x; a++) {
			int b = x - a;
			if (2*a + 4*b == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
	}
} Main
import java.io.*;
import java.util.*;

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

		int x = in.nextInt();
		int y = in.nextInt();


		for (int a=0; a<=x; a++) {
			int b = x - a;
			if (2*a + 4*b == y) {
				System.out.println("Yes");
				System.exit(0);
			}
		}
		System.out.println("No");
	}
}

