import java.util.Scanner;

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

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k = scan.nextInt();
		int x = scan.nextInt();

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k = scan.nextInt();
		int x = scan.nextInt();

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	} main {
		Scanner scan = new Scanner(System.in);
		int k = scan.nextInt();
		int x = scan.nextInt();

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int k = scan.nextInt(); k scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int left; left int right; right if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000; x - k + 1 >= -1000000 x - k + 1 x - k x k 1 -1000000 1000000 left = x - k + 1 left x - k + 1 x - k x k 1 left = -1000000 left -1000000 1000000 if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000; 1000000 >= x + k - 1 1000000 x + k - 1 x + k x k 1 right = x + k - 1 right x + k - 1 x + k x k 1 right = 1000000 right 1000000 int i; i for(i = left; i <= right; i++)
			System.out.println(i); i = left; i = left i left i <= right i right i++ i++ i System.out.println(i); System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k = scan.nextInt();
		int x = scan.nextInt();

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k = scan.nextInt();
		int x = scan.nextInt();

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	}
} Main
import java.util.Scanner;

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

		int left;
		int right;
		if(x - k + 1 >= -1000000)
			left = x - k + 1;
		else
			left = -1000000;

		if(1000000 >= x + k - 1)
			right = x + k - 1;
		else
			right = 1000000;

		int i;
		for(i = left; i <= right; i++)
			System.out.println(i);
	}
}