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();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[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();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    }    
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    }    
  } main {
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[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 int min = -1000000; min -1000000 1000000 int max = 1000000; max 1000000 int black[] = new int[2*k-1]; black new int[2*k-1] 2*k-1 2*k 2 k 1 for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    } int i=0; int i=0; i 0 i<2*k-1 i 2*k-1 2*k 2 k 1 i++ i++ i {
      black[i]=x-k+i+1;
    } {
      black[i]=x-k+i+1;
    } black[i]=x-k+i+1 black[i] black i x-k+i+1 x-k+i+1 x-k x k i 1 for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    } int i=0; int i=0; i 0 i<2*k-1 i 2*k-1 2*k 2 k 1 i++ i++ i {
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    } {
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    } if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      } black[i]>=min&&black[i]<=max black[i]>=min black[i] black i min black[i]<=max black[i] black i max {
        System.out.print(black[i]+" ");
      } System.out.print(black[i]+" ") System.out.print System.out System System.out black[i]+" " black[i] black 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();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    }    
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int k = sc.nextInt();
    int x = sc.nextInt();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[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();
    int min = -1000000;
    int max = 1000000;
    int black[] = new int[2*k-1];
    for(int i=0;i<2*k-1;i++){
      black[i]=x-k+i+1;
    }
    for(int i=0;i<2*k-1;i++){
      if(black[i]>=min&&black[i]<=max){
        System.out.print(black[i]+" ");
      }
    }    
  }
}