import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No");

    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No");

    }
} Main public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No");

    } main {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("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 animals=Integer.parseInt(st.nextToken()); animals Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int legs=Integer.parseInt(st.nextToken()); legs Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int A=0; A 0 int B=0; B 0 A=((4*animals)-legs)/2 A ((4*animals)-legs)/2 ((4*animals)-legs) (4*animals) 4 animals legs 2 B=(legs-(2*animals))/2 B (legs-(2*animals))/2 (legs-(2*animals)) legs (2*animals) 2 animals 2 if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No"); A+B==animals && 2*A+4*B==legs && A>=0 && B>=0 A>=0 A+B==animals && 2*A+4*B==legs && A>=0 && B>=0 A+B==animals A+B A B animals 2*A+4*B==legs 2*A+4*B 2*A 2 A 4*B 4 B legs A>=0 A 0 B>=0 B 0 System.out.println("Yes") System.out.println System.out System System.out "Yes" 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) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No");

    }
} public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No");

    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st=new StringTokenizer(br.readLine());
        int animals=Integer.parseInt(st.nextToken());
        int legs=Integer.parseInt(st.nextToken());
        int A=0;
        int B=0;
        A=((4*animals)-legs)/2;
        B=(legs-(2*animals))/2;
        if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
            System.out.println("Yes");
        else
            System.out.println("No");

    }
}
