import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	}
}
 import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	}
} Main public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	} main {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	} Scanner sn = new Scanner(System.in); sn new Scanner(System.in) int x = Integer.parseInt(sn.next()); x Integer.parseInt(sn.next()) Integer.parseInt Integer sn.next() sn.next sn int y = Integer.parseInt(sn.next()); y Integer.parseInt(sn.next()) Integer.parseInt Integer sn.next() sn.next sn for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		} int i =0; int i =0; i 0 i <= x i x i++ i++ i {
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		} {
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		} int t = 2 * i; t 2 * i 2 i int k = 4 * (x - i); k 4 * (x - i) 4 (x - i) x i if (t + k == y ){
                System.out.println("Yes");
                return;
			} t + k == y t + k t k y {
                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) {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sn = new Scanner(System.in);
        int x = Integer.parseInt(sn.next());
        int y = Integer.parseInt(sn.next());
		for( int i =0; i <= x ; i++ ){
            int t = 2 * i;
            int k = 4 * (x - i);
			if (t + k == y ){
                System.out.println("Yes");
                return;
			}
		}
        System.out.println("No");
	}
}

