import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int A = sc.nextInt();
  int B = sc.nextInt();
  int G = B-A+1;
  for(int i=0;i<2*A-1;i++){
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  }
 }
} import java.util.*; util.* java class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int A = sc.nextInt();
  int B = sc.nextInt();
  int G = B-A+1;
  for(int i=0;i<2*A-1;i++){
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  }
 }
} Main public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int A = sc.nextInt();
  int B = sc.nextInt();
  int G = B-A+1;
  for(int i=0;i<2*A-1;i++){
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  }
 } main {
  Scanner sc = new Scanner(System.in);
  int A = sc.nextInt();
  int B = sc.nextInt();
  int G = B-A+1;
  for(int i=0;i<2*A-1;i++){
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  }
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int G = B-A+1; G B-A+1 B-A B A 1 for(int i=0;i<2*A-1;i++){
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  } int i=0; int i=0; i 0 i<2*A-1 i 2*A-1 2*A 2 A 1 i++ i++ i {
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  } {
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  } if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   } G<=1000000&&G>=-1000000 G<=1000000 G 1000000 G>=-1000000 G -1000000 1000000 {
    System.out.println(G);
   } System.out.println(G) System.out.println System.out System System.out G G++ G String[] args args
import java.util.*;
class Main{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int A = sc.nextInt();
  int B = sc.nextInt();
  int G = B-A+1;
  for(int i=0;i<2*A-1;i++){
   if(G<=1000000&&G>=-1000000){
    System.out.println(G);
   }
   G++;
  }
 }
}