import java.util.*;

public class Main {
	
	public static void main(String[] args) {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} 
} import java.util.*; util.* java public class Main {
	
	public static void main(String[] args) {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} 
} Main public static void main(String[] args) {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} main {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Integer x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner Integer y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner String ans = "No"; ans "No" for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        } int i = 0; int i = 0; i 0 i < x + 1 i x + 1 x 1 i++ i++ i {
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        } {
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        } Integer sum = 2 * i + 4 * (x - i); sum 2 * i + 4 * (x - i) 2 * i 2 i 4 * (x - i) 4 (x - i) x i if (sum == y)
            ans = "Yes"; sum == y sum y ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	
	public static void main(String[] args) {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} 
} public class Main {
	
	public static void main(String[] args) {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} 
} Main
import java.util.*;

public class Main {
	
	public static void main(String[] args) {

		// argumentの取得
		Scanner scanner = new Scanner(System.in);
        Integer x = scanner.nextInt();
        Integer y = scanner.nextInt();
        String ans = "No";

        // debug
        // System.out.println(x);
        // System.out.println(y);
      
        for (int i = 0; i < x + 1; i++){
          Integer sum = 2 * i + 4 * (x - i);
          if (sum == y)
            ans = "Yes";
        }
      
		// 戻り値の返却
		System.out.println(ans);
	
	} 
}