import 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 = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		}
	}
} import java.util.*; util.* java 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 = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		}
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int K = sc.nextInt();
		// スペース区切りの整数の入力
		int X = sc.nextInt();

		int min = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		}
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int K = sc.nextInt();
		// スペース区切りの整数の入力
		int X = sc.nextInt();

		int min = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(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 int min = X - K + 1; min X - K + 1 X - K X K 1 if(min < -1000000){
			min = -1000000;
		} min < -1000000 min -1000000 1000000 {
			min = -1000000;
		} min = -1000000 min -1000000 1000000 int max = X + K - 1; max X + K - 1 X + K X K 1 if(max > 1000000){
			max = 1000000;
		} max > 1000000 max 1000000 {
			max = 1000000;
		} max = 1000000 max 1000000 for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		} int i = min; int i = min; i min i <= max i max 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 " " 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 = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		}
	}
} 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 = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		}
	}
} Main
import 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 = X - K + 1;
		if(min < -1000000){
			min = -1000000;
		}
		int max = X + K - 1;
		if(max > 1000000){
			max = 1000000;
		}
		for(int i = min; i <= max; i++){
			System.out.print(i+ " " );
		}
	}
}