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();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	}
} 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();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int K=sc.nextInt();
		int X=sc.nextInt();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	} main {
		Scanner sc = new Scanner(System.in);
		int K=sc.nextInt();
		int X=sc.nextInt();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	} 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 StringBuilder sb = new StringBuilder(); sb new StringBuilder() int left = Math.max(X-(K-1),-1000000); left Math.max(X-(K-1),-1000000) Math.max Math X-(K-1) X (K-1) K 1 -1000000 1000000 int right = Math.min(X+(K-1),1000000); right Math.min(X+(K-1),1000000) Math.min Math X+(K-1) X (K-1) K 1 1000000 for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		} int i=left; int i=left; i left i<=right i right i++ i++ i {
			sb.append(i);
			sb.append(" ");
		} {
			sb.append(i);
			sb.append(" ");
		} sb.append(i) sb.append sb i sb.append(" ") sb.append sb " " System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb 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();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int K=sc.nextInt();
		int X=sc.nextInt();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	}
} 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();
		StringBuilder sb = new StringBuilder();
		int left = Math.max(X-(K-1),-1000000);
		int right = Math.min(X+(K-1),1000000);
		for(int i=left;i<=right;i++) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString());
	}
}