import 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 = k; i > 0; i--){
      System.out.print((x - i + 1) + " ");
    }

    for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    }
  }
} import java.util.*; util.* java 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 = k; i > 0; i--){
      System.out.print((x - i + 1) + " ");
    }

    for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);

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

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

    for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    }
  } main {
    Scanner sc = new Scanner(System.in);

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

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

    for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    }
  } 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 = k; i > 0; i--){
      System.out.print((x - i + 1) + " ");
    } int i = k; int i = k; i k i > 0 i 0 i-- i-- i {
      System.out.print((x - i + 1) + " ");
    } {
      System.out.print((x - i + 1) + " ");
    } System.out.print((x - i + 1) + " ") System.out.print System.out System System.out (x - i + 1) + " " (x - i + 1) x - i x i 1 " " for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    } int i = 1; int i = 1; i 1 i < k i k i++ i++ i {
      System.out.print((x + i) + " ");
    } {
      System.out.print((x + i) + " ");
    } System.out.print((x + i) + " ") System.out.print System.out System System.out (x + i) + " " (x + i) x i " " 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 = k; i > 0; i--){
      System.out.print((x - i + 1) + " ");
    }

    for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    }
  }
} 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 = k; i > 0; i--){
      System.out.print((x - i + 1) + " ");
    }

    for(int i = 1; i < k; i++){
      System.out.print((x + i) + " ");
    }
  }
} Main
import 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 = k; i > 0; i--){
      System.out.print((x - i + 1) + " ");
    }

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