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