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();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	}
} 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();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		sc.close();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		sc.close();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	} 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 int[] r = new int[(K * 2) - 1]; r new int[(K * 2) - 1] (K * 2) - 1 (K * 2) K 2 1 int x = X - K + 1; x X - K + 1 X - K X K 1 for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		} int i = 0; int i = 0; i 0 i < r.length i r.length r r.length i++ i++ i {
			r[i] = x;
			x++;
		} {
			r[i] = x;
			x++;
		} r[i] = x r[i] r i x x++ x for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		} int i = 0; int i = 0; i 0 i < r.length i r.length r r.length i++ i++ i {
			System.out.print(r[i] + " ");
		} {
			System.out.print(r[i] + " ");
		} System.out.print(r[i] + " ") System.out.print System.out System System.out r[i] + " " r[i] r i " " 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();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	}
} 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();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	}
} Main
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();
		int[] r = new int[(K * 2) - 1];
		int x = X - K + 1;
		for(int i = 0; i < r.length; i++) {
			r[i] = x;
			x++;
		}
		for(int i = 0; i < r.length; i++) {
			System.out.print(r[i] + " ");
		}
	}
}
