import java.util.*;

public class Main {
    public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    }
} import java.util.*; util.* java public class Main {
    public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    }
} Main public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    } main {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b= sc.nextInt(); b sc.nextInt() sc.nextInt sc int min= a*2; min a*2 a 2 int max = a*4; max a*4 a 4 if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    } b>max b max {
          System.out.println("No");
     } System.out.println("No") System.out.println System.out System System.out "No" if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    } b<min b min {
          System.out.println("No");
     } System.out.println("No") System.out.println System.out System System.out "No" {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    } boolean  ok =false; ok false for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     } int i = min; int i = min; i min i<=max i max i++ i++ i {
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     } {
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     } if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         } i%2==0 i%2 i 2 0 {
             if(b==i){
                 ok=true;
                 break;
             }
         } if(b==i){
                 ok=true;
                 break;
             } b==i b i {
                 ok=true;
                 break;
             } ok=true ok true break; if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     } ok {
         System.out.println("Yes");
     } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
         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[]) {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    }
} public class Main {
    public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    }
} Main
import java.util.*;

public class Main {
    public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
     int a = sc.nextInt();
     int b= sc.nextInt();
     
    
     int min= a*2;
     int max = a*4;
     if(b>max){
          System.out.println("No");
     }else if(b<min){
          System.out.println("No");
     }
     else {
     boolean  ok =false;
     for(int i = min;i<=max;i++){
         if(i%2==0){
             if(b==i){
                 ok=true;
                 break;
             }
         }
     }
     if(ok){
         System.out.println("Yes");
     }else{
         System.out.println("No");
     }
    }
        
    }
}