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 first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + 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 first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + 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 first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + i));
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();
		sc.close();
		int first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + 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 first = (2 * K - 1)/2; first (2 * K - 1)/2 (2 * K - 1) 2 * K 2 K 1 2 for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + i));
			}
		} int i = 0; int i = 0; i 0 i <= first * 2 i first * 2 first 2 i++ i++ i {
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + i));
			}
		} {
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + i));
			}
		} if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + i));
			} i == 0 i 0 {
				System.out.print(X - first);
			} System.out.print(X - first) System.out.print System.out System System.out X - first X first {
				System.out.print(" " + (X - first + i));
			} System.out.print(" " + (X - first + i)) System.out.print System.out System System.out " " + (X - first + i) " " (X - first + i) X - first X first 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 first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + 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 first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + 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 first = (2 * K - 1)/2;
		for(int i = 0;i <= first * 2;i++){
			if(i == 0){
				System.out.print(X - first);
			}else{
				System.out.print(" " + (X - first + i));
			}
		}
	}
}