import java.util.*;
class Main{
 public static void main(String args[])
 {
   Scanner sc=new Scanner(System.in);
   int x=sc.nextInt();
   int y=sc.nextInt();
   String ans="No";
   for(int i=0;i<=x;i++)
   {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   }
   System.out.println(ans);
 }
} import java.util.*; util.* java class Main{
 public static void main(String args[])
 {
   Scanner sc=new Scanner(System.in);
   int x=sc.nextInt();
   int y=sc.nextInt();
   String ans="No";
   for(int i=0;i<=x;i++)
   {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   }
   System.out.println(ans);
 }
} Main public static void main(String args[])
 {
   Scanner sc=new Scanner(System.in);
   int x=sc.nextInt();
   int y=sc.nextInt();
   String ans="No";
   for(int i=0;i<=x;i++)
   {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   }
   System.out.println(ans);
 } main {
   Scanner sc=new Scanner(System.in);
   int x=sc.nextInt();
   int y=sc.nextInt();
   String ans="No";
   for(int i=0;i<=x;i++)
   {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   }
   System.out.println(ans);
 } 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 String ans="No"; ans "No" for(int i=0;i<=x;i++)
   {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   } int i=0; int i=0; i 0 i<=x i x i++ i++ i {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   } {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   } int c=x-i; c x-i x i if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   } 2*i+4*c==y 2*i+4*c 2*i 2 i 4*c 4 c y {
     ans="Yes";
      break;
   } ans="Yes" ans "Yes" break; System.out.println(ans) System.out.println System.out System System.out ans String args[] args
import java.util.*;
class Main{
 public static void main(String args[])
 {
   Scanner sc=new Scanner(System.in);
   int x=sc.nextInt();
   int y=sc.nextInt();
   String ans="No";
   for(int i=0;i<=x;i++)
   {
     int c=x-i;
	if(2*i+4*c==y)
   {
     ans="Yes";
      break;
   }
   }
   System.out.println(ans);
 }
}
