import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    b();
  }

  public static void b() {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    b();
  }

  public static void b() {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  }
} Main public static void main(String[] args) {
    b();
  } main {
    b();
  } b() b String[] args args public static void b() {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  } b {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  } try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    } catch (Exception E) {
      System.out.println("エラー");
    } Exception E {
      System.out.println("エラー");
    } System.out.println("エラー") System.out.println System.out System System.out "エラー" {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int kame = 4; kame 4 int tsuru = 2; tsuru 2 int kamegoukei = 0; kamegoukei 0 int tsurugoukei = 0; tsurugoukei 0 String hantei = "No"; hantei "No" for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      } int a = 0; int a = 0; a 0 a <= x a x a++ a++ a {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      } {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      } kamegoukei = a * kame kamegoukei a * kame a kame tsurugoukei = (x - a) * tsuru tsurugoukei (x - a) * tsuru (x - a) x a tsuru if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        } kamegoukei + tsurugoukei == y kamegoukei + tsurugoukei kamegoukei tsurugoukei y {
          hantei = "Yes";
        } hantei = "Yes" hantei "Yes" System.out.println(hantei) System.out.println System.out System System.out hantei public class Main {
  public static void main(String[] args) {
    b();
  }

  public static void b() {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  }
} public class Main {
  public static void main(String[] args) {
    b();
  }

  public static void b() {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    b();
  }

  public static void b() {
    try (Scanner sc = new Scanner(System.in)) {
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      int kame = 4;
      int tsuru = 2;
      int kamegoukei = 0;
      int tsurugoukei = 0;
      String hantei = "No";

      for (int a = 0; a <= x; a++) {
        kamegoukei = a * kame;
        tsurugoukei = (x - a) * tsuru;
        if (kamegoukei + tsurugoukei == y) {
          hantei = "Yes";
        }
      }
      System.out.println(hantei);

    } catch (Exception E) {
      System.out.println("エラー");
    }
  }
}