import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
	public static void main(String[] args) throws java.lang.Exception
    {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws java.lang.Exception
    {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	}
} Main public static void main(String[] args) throws java.lang.Exception
    {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	} main {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int x =Integer.parseInt(st.nextToken()) x Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st y=Integer.parseInt(st.nextToken()); y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" ) System.out.println System.out System System.out y%2==0 && y>=2*x && y<=4*x? "Yes":"No" y%2==0 && y>=2*x && y<=4*x y%2==0 && y>=2*x && y<=4*x y%2==0 y%2 y 2 0 y>=2*x y 2*x 2 x y<=4*x y 4*x 4 x "Yes" "No" String[] args args public class Main {
	public static void main(String[] args) throws java.lang.Exception
    {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	}
} public class Main {
	public static void main(String[] args) throws java.lang.Exception
    {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	}
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
	public static void main(String[] args) throws java.lang.Exception
    {		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int x =Integer.parseInt(st.nextToken()),y=Integer.parseInt(st.nextToken());
		System.out.println(y%2==0 && y>=2*x && y<=4*x? "Yes":"No" );
	}
}