import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  } main {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int ySum = 0; ySum 0 int sum = 0; sum 0 boolean check = false; check false for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    } int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    } {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    } for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      } int j = 1; int j = 1; j 1 j+i <= x j+i j i x j++ j++ j {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      } {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      } ySum += 2 ySum 2 if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        } j+i == x j+i j i x {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        } sum += ySum sum ySum if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          } sum == y sum y {
            check = true;
          } check = true check true {
            sum -= ySum;
            ySum = 0;
          } sum -= ySum sum ySum ySum = 0 ySum 0 sum += 4 sum 4 if (sum == y) {
      check = true;
    } sum == y sum y {
      check = true;
    } check = true check true System.out.println(check ? "Yes" : "No") System.out.println System.out System System.out check ? "Yes" : "No" check "Yes" "No" String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int ySum = 0;
    int sum = 0;
    boolean check = false;
    for (int i = 0; i < x; i++) {
      for (int j = 1; j+i <= x; j++) {
        ySum += 2;
        if (j+i == x) {
          sum += ySum;
          if (sum == y) {
            check = true;
          } else {
            sum -= ySum;
            ySum = 0;
          }
        }
      }
      sum += 4;
    }
    if (sum == y) {
      check = true;
    }
    System.out.println(check ? "Yes" : "No");
  }
}
