
import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    }
} import java.io.InputStream; InputStream java.io import java.io.PrintStream; PrintStream java.io import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    }
} Main public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    } main {
        solve(System.in, System.out);
    } solve(System.in, System.out) solve System.in System System.in System.out System System.out String[] args args static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    } solve {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    } Scanner scan = new Scanner(is); scan new Scanner(is) int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int Y= scan.nextInt(); Y scan.nextInt() scan.nextInt scan int kame = 0; kame 0 for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        } ; kame <= X kame X kame++ kame++ kame {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        } {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        } int tsuru = X-kame; tsuru X-kame X kame if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            } tsuru*2 + kame*4 == Y tsuru*2 + kame*4 tsuru*2 tsuru 2 kame*4 kame 4 Y {
                os.println("Yes");
                return;
            } os.println("Yes") os.println os "Yes" return; os.println("No") os.println os "No" InputStream is is PrintStream os os public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    }
} public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    }
} Main

import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int X = scan.nextInt();
        int Y= scan.nextInt();

        int kame = 0;

        for(; kame <= X; kame++) {
            int tsuru = X-kame;
            if(tsuru*2 + kame*4 == Y){
                os.println("Yes");
                return;
            }
        }

        os.println("No");

    }
}