import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		int n = 2 * k - 1;
		int m = x;
		int[] arr = new int[n];
		for(int i = 0; i < n; i++){
			arr[i] = x - (k - 1);
			x++;
		}
		for(int i : arr){
			System.out.print(i + " ");
		}
		
	}
	
	
	} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		int n = 2 * k - 1;
		int m = x;
		int[] arr = new int[n];
		for(int i = 0; i < n; i++){
			arr[i] = x - (k - 1);
			x++;
		}
		for(int i : arr){
			System.out.print(i + " ");
		}
		
	}
	
	
	} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		int n = 2 * k - 1;
		int m = x;
		int[] arr = new int[n];
		for(int i = 0; i < n; i++){
			arr[i] = x - (k - 1);
			x++;
		}
		for(int i : arr){
			System.out.print(i + " ");
		}
		
	} main {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		int n = 2 * k - 1;
		int m = x;
		int[] arr = new int[n];
		for(int i = 0; i < n; i++){
			arr[i] = x - (k - 1);
			x++;
		}
		for(int i : arr){
			System.out.print(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 n = 2 * k - 1; n 2 * k - 1 2 * k 2 k 1 int m = x; m x int[] arr = new int[n]; arr new int[n] n for(int i = 0; i < n; i++){
			arr[i] = x - (k - 1);
			x++;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			arr[i] = x - (k - 1);
			x++;
		} {
			arr[i] = x - (k - 1);
			x++;
		} arr[i] = x - (k - 1) arr[i] arr i x - (k - 1) x (k - 1) k 1 x++ x for(int i : arr){
			System.out.print(i + " ");
		} int i arr {
			System.out.print(i + " ");
		} {
			System.out.print(i + " ");
		} System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " String[] args args
import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		int n = 2 * k - 1;
		int m = x;
		int[] arr = new int[n];
		for(int i = 0; i < n; i++){
			arr[i] = x - (k - 1);
			x++;
		}
		for(int i : arr){
			System.out.print(i + " ");
		}
		
	}
	
	
	}