import java.util.Scanner;

class Main {

	
	
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int x = s.nextInt();
		
		int l = Math.max(x-n+1, -1000000);
		int r = Math.min(x+n-1, 1000000);
		
		for(int i=l;i<=r;i++)
			System.out.print(i+" ");
		
		System.out.println();
		
		
		
		
		
	}
} import java.util.Scanner; Scanner java.util class Main {

	
	
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int x = s.nextInt();
		
		int l = Math.max(x-n+1, -1000000);
		int r = Math.min(x+n-1, 1000000);
		
		for(int i=l;i<=r;i++)
			System.out.print(i+" ");
		
		System.out.println();
		
		
		
		
		
	}
} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int x = s.nextInt();
		
		int l = Math.max(x-n+1, -1000000);
		int r = Math.min(x+n-1, 1000000);
		
		for(int i=l;i<=r;i++)
			System.out.print(i+" ");
		
		System.out.println();
		
		
		
		
		
	} main {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int x = s.nextInt();
		
		int l = Math.max(x-n+1, -1000000);
		int r = Math.min(x+n-1, 1000000);
		
		for(int i=l;i<=r;i++)
			System.out.print(i+" ");
		
		System.out.println();
		
		
		
		
		
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int n = s.nextInt(); n s.nextInt() s.nextInt s int x = s.nextInt(); x s.nextInt() s.nextInt s int l = Math.max(x-n+1, -1000000); l Math.max(x-n+1, -1000000) Math.max Math x-n+1 x-n x n 1 -1000000 1000000 int r = Math.min(x+n-1, 1000000); r Math.min(x+n-1, 1000000) Math.min Math x+n-1 x+n x n 1 1000000 for(int i=l;i<=r;i++)
			System.out.print(i+" "); int i=l; int i=l; i l i<=r i r i++ i++ i System.out.print(i+" "); System.out.print(i+" ") System.out.print System.out System System.out i+" " i " " System.out.println() System.out.println System.out System System.out String[] args args
import java.util.Scanner;

class Main {

	
	
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int x = s.nextInt();
		
		int l = Math.max(x-n+1, -1000000);
		int r = Math.min(x+n-1, 1000000);
		
		for(int i=l;i<=r;i++)
			System.out.print(i+" ");
		
		System.out.println();
		
		
		
		
		
	}
}
