import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		int center = sc.nextInt();
		int start = center - num + 1;

		if (num != 1) {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} else {
			System.out.println(center);
		}

	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		int center = sc.nextInt();
		int start = center - num + 1;

		if (num != 1) {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} else {
			System.out.println(center);
		}

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		int center = sc.nextInt();
		int start = center - num + 1;

		if (num != 1) {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} else {
			System.out.println(center);
		}

	} main {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		int center = sc.nextInt();
		int start = center - num + 1;

		if (num != 1) {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} else {
			System.out.println(center);
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc int center = sc.nextInt(); center sc.nextInt() sc.nextInt sc int start = center - num + 1; start center - num + 1 center - num center num 1 if (num != 1) {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} else {
			System.out.println(center);
		} num != 1 num 1 {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			} int i = 0; int i = 0; i 0 i < num * 2 - 1 i num * 2 - 1 num * 2 num 2 1 i++ i++ i {
				System.out.println(start);
				System.out.println("");
				start++;
			} {
				System.out.println(start);
				System.out.println("");
				start++;
			} System.out.println(start) System.out.println System.out System System.out start System.out.println("") System.out.println System.out System System.out "" start++ start {
			System.out.println(center);
		} System.out.println(center) System.out.println System.out System System.out center String[] args args
import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		int center = sc.nextInt();
		int start = center - num + 1;

		if (num != 1) {
			for (int i = 0; i < num * 2 - 1; i++) {
				System.out.println(start);
				System.out.println("");
				start++;
			}
		} else {
			System.out.println(center);
		}

	}
}