import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner in = new Scanner(System.in);
		int k = in.nextInt();
		int x = in.nextInt();
		
		int min = -1000000;
		int max = 1000000;

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

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

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

		for (int i = Math.max(x - k  + 1, min); i <= Math.min(x + k - 1, max); ++i)
			System.out.print(i + " ");
		System.out.println();
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int k = in.nextInt(); k in.nextInt() in.nextInt in int x = in.nextInt(); x in.nextInt() in.nextInt in int min = -1000000; min -1000000 1000000 int max = 1000000; max 1000000 for (int i = Math.max(x - k  + 1, min); i <= Math.min(x + k - 1, max); ++i)
			System.out.print(i + " "); int i = Math.max(x - k  + 1, min); int i = Math.max(x - k  + 1, min); i Math.max(x - k  + 1, min) Math.max Math x - k  + 1 x - k x k 1 min i <= Math.min(x + k - 1, max) i Math.min(x + k - 1, max) Math.min Math x + k - 1 x + k x k 1 max ++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) throws java.lang.Exception
	{
		Scanner in = new Scanner(System.in);
		int k = in.nextInt();
		int x = in.nextInt();
		
		int min = -1000000;
		int max = 1000000;

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

		for (int i = Math.max(x - k  + 1, min); i <= Math.min(x + k - 1, max); ++i)
			System.out.print(i + " ");
		System.out.println();
	}
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

public class Main {
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner in = new Scanner(System.in);
		int k = in.nextInt();
		int x = in.nextInt();
		
		int min = -1000000;
		int max = 1000000;

		for (int i = Math.max(x - k  + 1, min); i <= Math.min(x + k - 1, max); ++i)
			System.out.print(i + " ");
		System.out.println();
	}
}