import 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();
		for(int i = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " ");
		System.out.println();

	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		for(int i = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " ");
		System.out.println();

	}

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

	} main {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		for(int i = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " ");
		System.out.println();

	} 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 = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " "); int i = Math.max(-1000000, X-K+1); int i = Math.max(-1000000, X-K+1); i Math.max(-1000000, X-K+1) Math.max Math -1000000 1000000 X-K+1 X-K X K 1 i <= Math.min(1000000, X+K-1) i Math.min(1000000, X+K-1) Math.min Math 1000000 X+K-1 X+K X K 1 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 public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		for(int i = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " ");
		System.out.println();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		for(int i = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " ");
		System.out.println();

	}

} Main
import 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();
		for(int i = Math.max(-1000000, X-K+1); i <= Math.min(1000000, X+K-1); i++)
			System.out.print(i + " ");
		System.out.println();

	}

}
