
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int tousuu = 0; tousuu 0 int honsuu = 0; honsuu 0 tousuu = scanner.nextInt() tousuu scanner.nextInt() scanner.nextInt scanner honsuu = scanner.nextInt() honsuu scanner.nextInt() scanner.nextInt scanner int turuasi = 2; turuasi 2 int kameasi = 4; kameasi 4 int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi); kame (honsuu - turuasi * tousuu) / (kameasi - turuasi) (honsuu - turuasi * tousuu) honsuu turuasi * tousuu turuasi tousuu (kameasi - turuasi) kameasi turuasi int turu = tousuu - kame; turu tousuu - kame tousuu kame if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        } turu >= 0 && kame >= 0 turu >= 0 turu 0 kame >= 0 kame 0 {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            } (turuasi * turu + kameasi * kame) == honsuu (turuasi * turu + kameasi * kame) turuasi * turu turuasi turu kameasi * kame kameasi kame honsuu {
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("No");
        } 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) {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    }
} Main

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int tousuu = 0;
        int honsuu = 0;

        tousuu = scanner.nextInt();
        honsuu = scanner.nextInt();

        int turuasi = 2;
        int kameasi = 4;

        int kame = (honsuu - turuasi * tousuu) / (kameasi - turuasi);
//        System.out.println(kame);
        int turu = tousuu - kame;
//        System.out.println(turu);
//                System.out.println((turuasi +" " +turu + " " +kameasi +" " + kame));
//                System.out.println((turuasi * turu + kameasi * kame));
        if (turu >= 0 && kame >= 0) {
            if ((turuasi * turu + kameasi * kame) == honsuu) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } else {
            System.out.println("No");
        }
    }
}
