import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    } main {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int hiki = s.nextInt(); hiki s.nextInt() s.nextInt s int asi = s.nextInt(); asi s.nextInt() s.nextInt s int sum = hiki * 2; sum hiki * 2 hiki 2 if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        } sum > asi || asi % 2 == 0 || sum * 2 < asi sum > asi || asi % 2 == 0 || sum * 2 < asi sum > asi sum asi asi % 2 == 0 asi % 2 asi 2 0 sum * 2 < asi sum * 2 sum 2 asi {
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        } for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            } int i = 0; int i = 0; i 0 i <= hiki i hiki i++ i++ i {
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            } {
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            } if(i != 0) sum += 2; i != 0 i 0 sum += 2 sum 2 if(sum == asi){
                    System.out.println("Yes");
                    return;
                } sum == asi sum asi {
                    System.out.println("Yes");
                    return;
                } System.out.println("Yes") System.out.println System.out System System.out "Yes" return; 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) throws Exception {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner s = new Scanner(System.in);
        int hiki = s.nextInt();
        int asi = s.nextInt();
        int sum = hiki * 2;
        if( sum > asi || asi % 2 == 0 || sum * 2 < asi){
            for(int i = 0; i <= hiki; i++){
                if(i != 0) sum += 2;
            
                if(sum == asi){
                    System.out.println("Yes");
                    return;
                }
            }
        }
        System.out.println("No"); 
    }
}
