import java.util.Scanner;

public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

  }
} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

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

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

  } main {

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    } int i = x - (k - 1); int i = x - (k - 1); i x - (k - 1) x (k - 1) k 1 i < (x + (k - 1)) i (x + (k - 1)) x (k - 1) k 1 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.println((x + k) - 1) System.out.println System.out System System.out (x + k) - 1 (x + k) x k 1 String[] args args public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

  }
} public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

  }
} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    int k = sc.nextInt();
    int x = sc.nextInt();

    for (int i = x - (k - 1); i < (x + (k - 1)); i++) {
      System.out.print(i + " ");
    }

    System.out.println((x + k) - 1);

  }
}