import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	} 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 int start = Math.max(X-K+1, -1000000); start Math.max(X-K+1, -1000000) Math.max Math X-K+1 X-K X K 1 -1000000 1000000 int end = Math.min(X+K-1, 1000000); end Math.min(X+K-1, 1000000) Math.min Math X+K-1 X+K X K 1 1000000 for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		} int i = start; int i = start; i start i <= end i end 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 " " sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	}

} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		// K, Xの入力
		int K = sc.nextInt();
		int X = sc.nextInt();
		
		// startとendの判定
		int start = Math.max(X-K+1, -1000000);
		int end = Math.min(X+K-1, 1000000);
		
		// 結果の出力
		for (int i = start; i <= end; i++) {
			System.out.print(i + " ");
		}
		
		sc.close();
	}

}
