import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	}

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

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	} main {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int startIndex = x - k + 1; startIndex x - k + 1 x - k x k 1 StringBuffer resultString = new StringBuffer(); resultString new StringBuffer() for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		} int i = 0; int i = 0; i 0 i < k*2-1 i k*2-1 k*2 k 2 1 i++ i++ i {
			resultString.append(startIndex + i);
			resultString.append(" ");
		} {
			resultString.append(startIndex + i);
			resultString.append(" ");
		} resultString.append(startIndex + i) resultString.append resultString startIndex + i startIndex i resultString.append(" ") resultString.append resultString " " System.out.println(resultString.toString()) System.out.println System.out System System.out resultString.toString() resultString.toString resultString String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int k = scanner.nextInt();
		int x = scanner.nextInt();
		int startIndex = x - k + 1;
		StringBuffer resultString = new StringBuffer();
		for (int i = 0; i < k*2-1; i++) {
			resultString.append(startIndex + i);
			resultString.append(" ");
		}
		System.out.println(resultString.toString());
	}

}