import java.util.Scanner;

public class Main
{

	public static void main(String args[])
	{

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	}

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

	public static void main(String args[])
	{

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	}

} Main public static void main(String args[])
	{

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	} main {

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	} int temp = 0; temp 0 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 sc.close() sc.close sc for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		} int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		} {
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		} temp += 2 temp 2 if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			} (i + 1) == x (i + 1) i 1 x {
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			} if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				} temp == y temp y {
					System.out.println("Yes");
				} System.out.println("Yes") System.out.println System.out System System.out "Yes" {

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				} for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					} int j = i; int j = i; j i j >= 0 j 0 j-- j-- j {
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					} {
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					} temp -=2 temp 2 temp +=4 temp 4 if(temp == y)
						{
							System.out.println("Yes");
							break;
						} temp == y temp y {
							System.out.println("Yes");
							break;
						} System.out.println("Yes") System.out.println System.out System System.out "Yes" break; if(j == 0)
						{
							System.out.println("No");
						} j == 0 j 0 {
							System.out.println("No");
						} 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[])
	{

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	}

} public class Main
{

	public static void main(String args[])
	{

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	}

} Main
import java.util.Scanner;

public class Main
{

	public static void main(String args[])
	{

		int temp = 0;

		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();
		sc.close();

		for(int i = 0; i < x; i++)
		{
			temp += 2;

			if((i + 1) == x)
			{
				if(temp == y)
				{
					System.out.println("Yes");
				}else
				{

					for(int j = i; j >= 0; j--)
					{
						temp -=2;
						temp +=4;

						if(temp == y)
						{
							System.out.println("Yes");
							break;
						}

						if(j == 0)
						{
							System.out.println("No");
						}

					}
				}
			}

		}

	}

}
