import java.io.PrintWriter;
import java.util.Scanner;

public class Main{

	public static void main(String[] args){
		//入力
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	}
} import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner 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();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	}
} Main public static void main(String[] args){
		//入力
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	} main {
		//入力
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	} 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 sc.close() sc.close sc PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		} int i = 0; int i = 0; i 0 i < 2 * k - 1 i 2 * k - 1 2 * k 2 k 1 i++ i++ i {
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		} {
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		} int t = x - k + 1 + i; t x - k + 1 + i x - k + 1 + i x - k x k 1 i out.print(t) out.print out t if(i == 2 * k - 2) out.println();
			else out.print(" "); i == 2 * k - 2 i 2 * k - 2 2 * k 2 k 2 out.println() out.println out out.print(" ") out.print out " " out.flush() out.flush 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();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	}
} public class Main{

	public static void main(String[] args){
		//入力
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	}
} Main
import java.io.PrintWriter;
import java.util.Scanner;

public class Main{

	public static void main(String[] args){
		//入力
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		sc.close();

		//処理
		
		//出力
		PrintWriter out = new PrintWriter(System.out);
		for(int i = 0; i < 2 * k - 1; i++){
			int t = x - k + 1 + i;
			out.print(t);
			if(i == 2 * k - 2) out.println();
			else out.print(" ");
		}
		out.flush();
	}
}