import java.sql.SQLOutput;
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  }

} import java.sql.SQLOutput; SQLOutput java.sql import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  }

} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  } main {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int K = scan.nextInt(); K scan.nextInt() scan.nextInt scan int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int max = X + K - 1; max X + K - 1 X + K X K 1 int sa = max - X; sa max - X max X if (max > 1000000) {
      max = 1000000;
    } max > 1000000 max 1000000 {
      max = 1000000;
    } max = 1000000 max 1000000 int min = X - sa; min X - sa X sa if (min < -1000000) {
      min = -1000000;
    } min < -1000000 min -1000000 1000000 {
      min = -1000000;
    } min = -1000000 min -1000000 1000000 for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    } int i = min; int i = min; i min X > i X i i++ i++ i {
      System.out.print(i + " ");
    } {
      System.out.print(i + " ");
    } System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    } int i = X; int i = X; i X i < max i max i++ i++ i {
      System.out.print(i + " ");
    } {
      System.out.print(i + " ");
    } System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " System.out.print(max) System.out.print System.out System System.out max String[] args args public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  }

} public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  }

} Main
import java.sql.SQLOutput;
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int K = scan.nextInt();
    int X = scan.nextInt();

    int max = X + K - 1;
    int sa = max - X;
    if (max > 1000000) {
      max = 1000000;
    }
    int min = X - sa;
    if (min < -1000000) {
      min = -1000000;
    }

    for (int i = min; X > i; i++) {
      System.out.print(i + " ");
    }
    for (int i = X; i < max; i++) {
      System.out.print(i + " ");
    }
    System.out.print(max);

  }

}
