import java.util.Scanner;

public class Main {

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

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

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

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc int Z = 0; Z 0 int count = 0; count 0 int yesCount = 0; yesCount 0 Z = X * 2 Z X * 2 X 2 if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		} Z != Y Z Y {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			} int i = 0; int i = 0; i 0 i < X i X i++ i++ i {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			} {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			} Z = Z + 2 Z Z + 2 Z 2 if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				} Z == Y Z Y {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				} i = i + 1 i i + 1 i 1 count = i count i System.out.println("Yes") System.out.println System.out System System.out "Yes" yesCount++ yesCount break; if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		} X * 2 == Y X * 2 X 2 Y {
			System.out.println("Yes");
			yesCount++;
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" yesCount++ yesCount if (yesCount == 0) {
			System.out.println("No");
		} yesCount == 0 yesCount 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" sc.close() sc.close sc String[] args args public class Main {

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

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	}
} public class Main {

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

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

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

		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = 0;
		int count = 0;
		int yesCount = 0;

		Z = X * 2;

		if (Z != Y) {
			for (int i = 0; i < X; i++) {
				Z = Z + 2;
				if (Z == Y) {
					i = i + 1;
					count = i;
					System.out.println("Yes");
					yesCount++;
					break;
				}
			}
		} else if (X * 2 == Y) {
			System.out.println("Yes");
			yesCount++;
		}
		if (yesCount == 0) {
			System.out.println("No");
		}
		//System.out.println(X - (count) + (" ") + (count));
		sc.close();
	}
}
