import java.util.Scanner;
public class Main{
public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
}
} import java.util.Scanner; Scanner java.util public class Main{
public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
}
} Main public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
} main {
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
} Scanner in= new Scanner( System.in); in new Scanner( System.in) int c c t t X X Y Y e e f f m m n n i i j j k; k c= 2 c 2 t= 4 t 4 m= 0 m 0 X= in.nextInt() X in.nextInt() in.nextInt in Y= in.nextInt() Y in.nextInt() in.nextInt in for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} i=0; i=0 i 0 i<=X i X i++ i++ i {
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} {
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} e= c*i e c*i c i for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
} j= 0; j= 0 j 0 j <= X j X j++ j++ j {
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
} {
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
} f= t*j f t*j t j n= e+f n e+f e f k= i+j k i+j i j if (n==Y && k==X){
m++;
} n==Y && k==X n==Y n Y k==X k X {
m++;
} m++ m if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  } m==0 m 0 {
System.out.println ("No");
} System.out.println ("No") System.out.println System.out System System.out "No" {
 System.out.println ("Yes");
  } System.out.println ("Yes") System.out.println System.out System System.out "Yes" String [] args args public class Main{
public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
}
} public class Main{
public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
}
} Main
import java.util.Scanner;
public class Main{
public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0;  j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
 System.out.println ("Yes");
  }
}
}