import java.util.*;
 
public class Main{
	public static void main(String[] args) {
	    Scanner sc=new Scanner(System.in);

		int all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	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 all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        }
	}
} Main public static void main(String[] args) {
	    Scanner sc=new Scanner(System.in);

		int all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        }
	} main {
	    Scanner sc=new Scanner(System.in);

		int all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        }
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int all=sc.nextInt(); all sc.nextInt() sc.nextInt sc int foot=sc.nextInt(); foot sc.nextInt() sc.nextInt sc int tsuru = all * 2; tsuru all * 2 all 2 if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        } tsuru == foot tsuru foot {
          	System.out.print("Yes");
          	return;
        } System.out.print("Yes") System.out.print System.out System System.out "Yes" return; if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        } tsuru > foot tsuru foot {
          	System.out.print("No");
          	return;
        } System.out.print("No") System.out.print System.out System System.out "No" return; if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        } tsuru < foot tsuru foot {
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        } int kame = foot - tsuru; kame foot - tsuru foot tsuru if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            } kame/2 <= all && kame%2 == 0 kame/2 <= all kame/2 kame 2 all kame%2 == 0 kame%2 kame 2 0 {
              System.out.print("Yes");
              return;
            } System.out.print("Yes") System.out.print System.out System System.out "Yes" return; 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 all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        }
	}
} public class Main{
	public static void main(String[] args) {
	    Scanner sc=new Scanner(System.in);

		int all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        }
	}
} Main
import java.util.*;
 
public class Main{
	public static void main(String[] args) {
	    Scanner sc=new Scanner(System.in);

		int all=sc.nextInt();
      	int foot=sc.nextInt();
      	int tsuru = all * 2;
      	if (tsuru == foot){
          	System.out.print("Yes");
          	return;
        }else if(tsuru > foot){
          	System.out.print("No");
          	return;
        }else if(tsuru < foot){
          	int kame = foot - tsuru;
          	if(kame/2 <= all && kame%2 == 0){
              System.out.print("Yes");
              return;
            }
          	System.out.print("No");
        }
	}
}