import java.util.*;
import java.io.*;

public class Main
{
  public static void main(String args[]) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  }
  
  public static void printPossibleBlack(int k, int x)
  {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  }
} import java.util.*; util.* java import java.io.*; io.* java public class Main
{
  public static void main(String args[]) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  }
  
  public static void printPossibleBlack(int k, int x)
  {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  }
} Main public static void main(String args[]) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer tokenizer1 = new StringTokenizer(br.readLine()); tokenizer1 new StringTokenizer(br.readLine()) int k = Integer.parseInt(tokenizer1.nextToken()); k Integer.parseInt(tokenizer1.nextToken()) Integer.parseInt Integer tokenizer1.nextToken() tokenizer1.nextToken tokenizer1 int x = Integer.parseInt(tokenizer1.nextToken()); x Integer.parseInt(tokenizer1.nextToken()) Integer.parseInt Integer tokenizer1.nextToken() tokenizer1.nextToken tokenizer1 printPossibleBlack(k,x) printPossibleBlack k x String args[] args public static void printPossibleBlack(int k, int x)
  {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  } printPossibleBlack {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  } int size = 2*Math.abs(k-1) + 1; size 2*Math.abs(k-1) + 1 2*Math.abs(k-1) 2 Math.abs(k-1) Math.abs Math k-1 k 1 1 if(size == 0)
    {
      System.out.print(x);
      return;
    } size == 0 size 0 {
      System.out.print(x);
      return;
    } System.out.print(x) System.out.print System.out System System.out x return; int[] arr = new int[size]; arr new int[size] size int i = x - (k - 1); i x - (k - 1) x (k - 1) k 1 int j = x + (k - 1); j x + (k - 1) x (k - 1) k 1 int k1 = 0; k1 0 while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    } i<=j i j {
      arr[k1] = i;
      k1++;
      i++;
    } arr[k1] = i arr[k1] arr k1 i k1++ k1 i++ i for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    } int l=0; int l=0; l 0 l<size l size l++ l++ l {
      System.out.print(arr[l]+" ");
    } {
      System.out.print(arr[l]+" ");
    } System.out.print(arr[l]+" ") System.out.print System.out System System.out arr[l]+" " arr[l] arr l " " int k k int x x public class Main
{
  public static void main(String args[]) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  }
  
  public static void printPossibleBlack(int k, int x)
  {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  }
} public class Main
{
  public static void main(String args[]) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  }
  
  public static void printPossibleBlack(int k, int x)
  {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  }
} Main
import java.util.*;
import java.io.*;

public class Main
{
  public static void main(String args[]) throws IOException
  {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringTokenizer tokenizer1 = new StringTokenizer(br.readLine());
    int k = Integer.parseInt(tokenizer1.nextToken());
    int x = Integer.parseInt(tokenizer1.nextToken());
    
    printPossibleBlack(k,x);
  }
  
  public static void printPossibleBlack(int k, int x)
  {
    int size = 2*Math.abs(k-1) + 1;
    if(size == 0)
    {
      System.out.print(x);
      return;
    }
    int[] arr = new int[size];
    
    int i = x - (k - 1);
    int j = x + (k - 1);
    int k1 = 0;
    
    while(i<=j)
    {
      arr[k1] = i;
      k1++;
      i++;
    }
    
    for(int l=0;l<size;l++)
    {
      System.out.print(arr[l]+" ");
    }
    
  }
}
