import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  } main {
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  } 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 max = b + (a - 1); max b + (a - 1) b (a - 1) a 1 int min = b - (a - 1); min b - (a - 1) b (a - 1) a 1 for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    } int i = min; int i = min; i min i < max i max i++ i++ i {
    	System.out.print(i + " ");
    } {
    	System.out.print(i + " ");
    } System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " System.out.println(max) System.out.println System.out System System.out max String[] args args public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  }
} public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  }
} Main
import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
	// スペース区切りの整数の入力
	int a = sc.nextInt();
	int b = sc.nextInt();
    int max = b + (a - 1);
    int min = b - (a - 1);
    for(int i = min; i < max; i++){
    	System.out.print(i + " ");
    }
    System.out.println(max);
  }
}