import java.util.*;
class Main{
     public static void main(String[] args) {
         Scanner sc=new Scanner(System.in);
        int count=0;
        int temp=0;
        int m=sc.nextInt();
        int l=sc.nextInt();
        count=l-2*m;
        count=count/2;
        temp=m-count;

         if(count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0))){
        System.out.println("Yes");
        }
        else
         System.out.println("No");
     }
    
} import java.util.*; util.* java class Main{
     public static void main(String[] args) {
         Scanner sc=new Scanner(System.in);
        int count=0;
        int temp=0;
        int m=sc.nextInt();
        int l=sc.nextInt();
        count=l-2*m;
        count=count/2;
        temp=m-count;

         if(count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0))){
        System.out.println("Yes");
        }
        else
         System.out.println("No");
     }
    
} Main public static void main(String[] args) {
         Scanner sc=new Scanner(System.in);
        int count=0;
        int temp=0;
        int m=sc.nextInt();
        int l=sc.nextInt();
        count=l-2*m;
        count=count/2;
        temp=m-count;

         if(count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0))){
        System.out.println("Yes");
        }
        else
         System.out.println("No");
     } main {
         Scanner sc=new Scanner(System.in);
        int count=0;
        int temp=0;
        int m=sc.nextInt();
        int l=sc.nextInt();
        count=l-2*m;
        count=count/2;
        temp=m-count;

         if(count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0))){
        System.out.println("Yes");
        }
        else
         System.out.println("No");
     } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int count=0; count 0 int temp=0; temp 0 int m=sc.nextInt(); m sc.nextInt() sc.nextInt sc int l=sc.nextInt(); l sc.nextInt() sc.nextInt sc count=l-2*m count l-2*m l 2*m 2 m count=count/2 count count/2 count 2 temp=m-count temp m-count m count if(count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0))){
        System.out.println("Yes");
        }
        else
         System.out.println("No"); count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0)) count*4+temp*2==l count*4+temp*2 count*4 count 4 temp*2 temp 2 l (m*4>=l&&(m-count>=0)&&(l-2*m>=0)) m*4>=l&&(m-count>=0)&&(l-2*m>=0) m*4>=l m*4 m 4 l (m-count>=0) m-count m count 0 (l-2*m>=0) l-2*m l 2*m 2 m 0 {
        System.out.println("Yes");
        } 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" String[] args args
import java.util.*;
class Main{
     public static void main(String[] args) {
         Scanner sc=new Scanner(System.in);
        int count=0;
        int temp=0;
        int m=sc.nextInt();
        int l=sc.nextInt();
        count=l-2*m;
        count=count/2;
        temp=m-count;

         if(count*4+temp*2==l&&(m*4>=l&&(m-count>=0)&&(l-2*m>=0))){
        System.out.println("Yes");
        }
        else
         System.out.println("No");
     }
    
}
