import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }

    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }

    }
} Main public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }

    } main {
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }

    } try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        } {
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int X = Integer.parseInt(str[0]); X Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int Y = Integer.parseInt(str[1]); Y Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 int tmp = 0; tmp 0 int result = 0; result 0 boolean flag = false; flag false for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          } int i = 0; int i = 0; i 0 i <= X i X i++ i++ i {
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          } {
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          } tmp = X-i tmp X-i X i result = i*2 + tmp*4 result i*2 + tmp*4 i*2 i 2 tmp*4 tmp 4 if(result == Y){
              flag = true;
              break;
            } result == Y result Y {
              flag = true;
              break;
            } flag = true flag true break; if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          } flag {
            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
import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] str = br.readLine().split(" ");
          int X = Integer.parseInt(str[0]);
          int Y = Integer.parseInt(str[1]);

          int tmp = 0;
          int result = 0;
          boolean flag = false;
    
          for(int i = 0; i <= X; i++){
            tmp = X-i;
            result = i*2 + tmp*4;
            if(result == Y){
              flag = true;
              break;
            }
          }

          if(flag){
            System.out.println("Yes");
          }else{
            System.out.println("No");
          }
        }

    }
}