import java.util.*;
public class Main{
public static void main(String args[])
{
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   }
 
 
} 
    import java.util.*; util.* java public class Main{
public static void main(String args[])
{
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   }
 
 
} Main public static void main(String args[])
{
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   } main {
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   } Scanner sp=new Scanner(System.in); sp new Scanner(System.in) int k=sp.nextInt(); k sp.nextInt() sp.nextInt sp int x=sp.nextInt(); x sp.nextInt() sp.nextInt sp int n=k+x; n k+x k x int c=x-k; c x-k x k for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   } int i=c+1; int i=c+1; i c+1 c 1 i<n i n i++ i++ i {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   } {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   } if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      } i<1000000 && i>-1000000 i<1000000 i 1000000 i>-1000000 i -1000000 1000000 {
                 System.out.print(i+" ");
      } System.out.print(i+" ") System.out.print System.out System System.out i+" " i " " String args[] args public class Main{
public static void main(String args[])
{
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   }
 
 
} public class Main{
public static void main(String args[])
{
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   }
 
 
} Main
import java.util.*;
public class Main{
public static void main(String args[])
{
  Scanner sp=new Scanner(System.in);
   int k=sp.nextInt();
    int x=sp.nextInt();
    int n=k+x;
    int c=x-k;
   
 
   for(int i=c+1;i<n;i++)
   {
      if(i<1000000 && i>-1000000)
      {
                 System.out.print(i+" ");
      }
       
   }
      
   }
 
 
} 
   