import java.util.*;

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

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