import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	}

	private static void solve(int k, int x) {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util import java.util.BitSet; BitSet java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	}

	private static void solve(int k, int x) {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	} main {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	} Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); in new Scanner(new BufferedReader(new InputStreamReader(System.in))) int k = in.nextInt(); k in.nextInt() in.nextInt in int x = in.nextInt(); x in.nextInt() in.nextInt in solve(k, x) solve k x String[] args args private static void solve(int k, int x) {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	} solve {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	} int l = x - k + 1; l x - k + 1 x - k x k 1 int r = x + k - 1; r x + k - 1 x + k x k 1 if (l < -1000000)
			l = -1000000; l < -1000000 l -1000000 1000000 l = -1000000 l -1000000 1000000 if (r > 1000000)
			r = 1000000; r > 1000000 r 1000000 r = 1000000 r 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 int k k int x x public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	}

	private static void solve(int k, int x) {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	}

	private static void solve(int k, int x) {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int k = in.nextInt();
		int x = in.nextInt();
		solve(k, x);
	}

	private static void solve(int k, int x) {
		int l = x - k + 1;
		int r = x + k - 1;
		if (l < -1000000)
			l = -1000000;
		if (r > 1000000)
			r = 1000000;
		for (int i = l; i <= r; i++)
			System.out.print(i + " ");
		System.out.println();
	}
}
