import java.util.Scanner;

public class Main {
    public static void main(String[] arg) {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] arg) {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    }
} Main public static void main(String[] arg) {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    } main {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int craneLeg craneLeg turtleLeg turtleLeg headTotal headTotal legTotal; legTotal int craneCnt craneCnt turtleCnt; turtleCnt craneLeg = 2 craneLeg 2 turtleLeg = 4 turtleLeg 4 headTotal = scan.nextInt() headTotal scan.nextInt() scan.nextInt scan legTotal = scan.nextInt() legTotal scan.nextInt() scan.nextInt scan for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        } int i = 0; int i = 0; i 0 i <= headTotal i headTotal i++ i++ i {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        } {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        } craneCnt = i craneCnt i turtleCnt = headTotal - i turtleCnt headTotal - i headTotal i if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            } craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal craneCnt * craneLeg + turtleCnt * turtleLeg craneCnt * craneLeg craneCnt craneLeg turtleCnt * turtleLeg turtleCnt turtleLeg legTotal {
                System.out.println("Yes");
                scan.close();
                return;
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" scan.close() scan.close scan return; System.out.println("No") System.out.println System.out System System.out "No" scan.close() scan.close scan return; String[] arg arg public class Main {
    public static void main(String[] arg) {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    }
} public class Main {
    public static void main(String[] arg) {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] arg) {
        Scanner scan = new Scanner(System.in);
        int craneLeg, turtleLeg, headTotal, legTotal; 
        int craneCnt, turtleCnt;
        
        craneLeg = 2;
        turtleLeg = 4;
        headTotal = scan.nextInt();
        legTotal = scan.nextInt();
        
        for(int i = 0; i <= headTotal; i++) {
            craneCnt = i;
            turtleCnt = headTotal - i;

            if(craneCnt * craneLeg + turtleCnt * turtleLeg == legTotal) {
                System.out.println("Yes");
                scan.close();
                return;
            }
        }
        System.out.println("No");
        scan.close();
        return;
    }
}