import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int K = stdIn.nextInt();
		int X = stdIn.nextInt();
		
		for(int i = Math.max(X-K+1, -1000000); i < Math.min(X+K-1, 1000000); i++) {
			System.out.print(i+ " ");
		}
		System.out.println(Math.min(X+K-1, 1000000));

	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int K = stdIn.nextInt();
		int X = stdIn.nextInt();
		
		for(int i = Math.max(X-K+1, -1000000); i < Math.min(X+K-1, 1000000); i++) {
			System.out.print(i+ " ");
		}
		System.out.println(Math.min(X+K-1, 1000000));

	}

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

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

	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int K = stdIn.nextInt(); K stdIn.nextInt() stdIn.nextInt stdIn int X = stdIn.nextInt(); X stdIn.nextInt() stdIn.nextInt stdIn for(int i = Math.max(X-K+1, -1000000); i < Math.min(X+K-1, 1000000); i++) {
			System.out.print(i+ " ");
		} int i = Math.max(X-K+1, -1000000); int i = Math.max(X-K+1, -1000000); i Math.max(X-K+1, -1000000) Math.max Math X-K+1 X-K X K 1 -1000000 1000000 i < Math.min(X+K-1, 1000000) i Math.min(X+K-1, 1000000) Math.min Math X+K-1 X+K X K 1 1000000 i++ i++ i {
			System.out.print(i+ " ");
		} {
			System.out.print(i+ " ");
		} System.out.print(i+ " ") System.out.print System.out System System.out i+ " " i " " System.out.println(Math.min(X+K-1, 1000000)) System.out.println System.out System System.out Math.min(X+K-1, 1000000) Math.min Math X+K-1 X+K X K 1 1000000 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int K = stdIn.nextInt();
		int X = stdIn.nextInt();
		
		for(int i = Math.max(X-K+1, -1000000); i < Math.min(X+K-1, 1000000); i++) {
			System.out.print(i+ " ");
		}
		System.out.println(Math.min(X+K-1, 1000000));

	}

} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int K = stdIn.nextInt();
		int X = stdIn.nextInt();
		
		for(int i = Math.max(X-K+1, -1000000); i < Math.min(X+K-1, 1000000); i++) {
			System.out.print(i+ " ");
		}
		System.out.println(Math.min(X+K-1, 1000000));

	}

} Main
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int K = stdIn.nextInt();
		int X = stdIn.nextInt();
		
		for(int i = Math.max(X-K+1, -1000000); i < Math.min(X+K-1, 1000000); i++) {
			System.out.print(i+ " ");
		}
		System.out.println(Math.min(X+K-1, 1000000));

	}

}