import java.util.Scanner;

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

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextByte();
    int y = sc.nextByte();
    sc.close();
    if((y & 1) == 0) {
      int t = (y/2) - x;
      int c = x - t;
      if(c < 0 || t < 0) {
        System.out.println("No");
      } else {
        if(((4*t) + (2*c)) == y) System.out.println("Yes");
      }
    } else {
      System.out.println("No");    
    }
  }
}