import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    } main {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int num = 0; num 0 int[] array = new int[x]; array new int[x] x for(int i = 0; i < x; i++){
            array[i] = 2;
        } int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
            array[i] = 2;
        } {
            array[i] = 2;
        } array[i] = 2 array[i] array i 2 for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        } int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        } {
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        } for(int j = 0; j < x; j++){
                num += array[j];
            } int j = 0; int j = 0; j 0 j < x j x j++ j++ j {
                num += array[j];
            } {
                num += array[j];
            } num += array[j] num array[j] array j if(y == num){
                System.out.print("Yes");
                System.exit(0);
            } y == num y num {
                System.out.print("Yes");
                System.exit(0);
            } System.out.print("Yes") System.out.print System.out System System.out "Yes" System.exit(0) System.exit System 0 try{
                array[i] = 4;
            }catch(Exception e){
                
            } catch(Exception e){
                
            } Exception e {
                
            } {
                array[i] = 4;
            } array[i] = 4 array[i] array i 4 num = 0 num 0 System.out.print("No") System.out.print 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 x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        int num = 0;

        int[] array = new int[x];
        for(int i = 0; i < x; i++){
            array[i] = 2;
        }
        for(int i = 0; i <= x; i++){
            for(int j = 0; j < x; j++){
                num += array[j];
            }
            if(y == num){
                System.out.print("Yes");
                System.exit(0);
            }
            try{
                array[i] = 4;
            }catch(Exception e){
                
            }
            
            num = 0;
        }
        System.out.print("No");  
    }
}
