import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	}
} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	} main {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int count = scan.nextInt(); count scan.nextInt() scan.nextInt scan int blackIndex = scan.nextInt(); blackIndex scan.nextInt() scan.nextInt scan int[] answer = new int[count * 2 - 1]; answer new int[count * 2 - 1] count * 2 - 1 count * 2 count 2 1 for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		} int i = 0; int i = 0; i 0 i < answer.length i answer.length answer answer.length i++ i++ i {
			answer[i] = blackIndex - count + (i + 1);
		} {
			answer[i] = blackIndex - count + (i + 1);
		} answer[i] = blackIndex - count + (i + 1) answer[i] answer i blackIndex - count + (i + 1) blackIndex - count blackIndex count (i + 1) i 1 for (int i : answer) {
			System.out.print(i + " ");
		} int i answer {
			System.out.print(i + " ");
		} {
			System.out.print(i + " ");
		} System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	}
} public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int count = scan.nextInt();
		int blackIndex = scan.nextInt();
		
		int[] answer = new int[count * 2 - 1];
		for (int i = 0; i < answer.length; i++) {
			answer[i] = blackIndex - count + (i + 1);
		}
		
		
		for (int i : answer) {
			System.out.print(i + " ");
		}
	}
}