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();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	}
} 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();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k =sc.nextInt();
	int x=sc.nextInt();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	} main {
		Scanner sc = new Scanner(System.in);

		int k =sc.nextInt();
	int x=sc.nextInt();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	} 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 min=Math.max(-1000000,x-k+1); min Math.max(-1000000,x-k+1) Math.max Math -1000000 1000000 x-k+1 x-k x k 1 int max=Math.min(x+k-1, 1000000); max Math.min(x+k-1, 1000000) Math.min Math x+k-1 x+k x k 1 1000000 for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
} int i=min; int i=min; i min i<=max i max i++ i++ i {
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
} {
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
} System.out.print(i) System.out.print System.out System System.out i if(i!=max){
		System.out.print(" ");
	} i!=max i max {
		System.out.print(" ");
	} System.out.print(" ") System.out.print System.out System System.out " " 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();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k =sc.nextInt();
	int x=sc.nextInt();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	}
} 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();
int min=Math.max(-1000000,x-k+1);
int max=Math.min(x+k-1, 1000000);

for(int i=min;i<=max;i++){
	System.out.print(i);
	if(i!=max){
		System.out.print(" ");
	}
}

	}
}