import java.util.Scanner;

public class Main {

	private static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	}
} import java.util.Scanner; Scanner java.util public class Main {

	private static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	}
} Main private static Scanner scan = new Scanner(System.in); scan new Scanner(System.in) public static void main(String[] args) {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	} main {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	} String[] firstLine = scan.nextLine().split(" "); firstLine scan.nextLine().split(" ") scan.nextLine().split scan.nextLine() scan.nextLine scan " " int k = Integer.valueOf(firstLine[0]); k Integer.valueOf(firstLine[0]) Integer.valueOf Integer firstLine[0] firstLine 0 int x = Integer.valueOf(firstLine[1]); x Integer.valueOf(firstLine[1]) Integer.valueOf Integer firstLine[1] firstLine 1 StringBuilder sb = new StringBuilder(); sb new StringBuilder() int index = x - k; index x - k x k for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		} int i = k * 2 - 1; int i = k * 2 - 1; i k * 2 - 1 k * 2 k 2 1 i > 0 i 0 i-- i-- i {
			sb.append((index += 1) + " ");
		} {
			sb.append((index += 1) + " ");
		} sb.append((index += 1) + " ") sb.append sb (index += 1) + " " (index += 1) index 1 " " if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		} !sb.toString().isEmpty() sb.toString().isEmpty() sb.toString().isEmpty sb.toString() sb.toString sb {
			sb.deleteCharAt(sb.length() - 1);
		} sb.deleteCharAt(sb.length() - 1) sb.deleteCharAt sb sb.length() - 1 sb.length() sb.length sb 1 System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args public class Main {

	private static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	}
} public class Main {

	private static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	}
} Main
import java.util.Scanner;

public class Main {

	private static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		String[] firstLine = scan.nextLine().split(" ");
		int k = Integer.valueOf(firstLine[0]);
		int x = Integer.valueOf(firstLine[1]);
		StringBuilder sb = new StringBuilder();

		int index = x - k;
		for (int i = k * 2 - 1; i > 0; i--) {
			sb.append((index += 1) + " ");
		}
		if (!sb.toString().isEmpty()) {
			sb.deleteCharAt(sb.length() - 1);
		}
		System.out.println(sb.toString());
	}
}
