import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	}
} Main public static void main(String[] args) {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	} main {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	} int k k x; x Scanner sc = new Scanner(System.in); sc new Scanner(System.in) k = sc.nextInt() k sc.nextInt() sc.nextInt sc x = sc.nextInt() x sc.nextInt() sc.nextInt sc int a = k-1; a k-1 k 1 for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		} int i = 0; int i = 0; i 0 i < a i a i++ i++ i {

			System.out.print(x - a + i + " ");

		} {

			System.out.print(x - a + i + " ");

		} System.out.print(x - a + i + " ") System.out.print System.out System System.out x - a + i + " " x - a + i + " " x - a x a i " " for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		} int i = 0; int i = 0; i 0 i <= a i a i++ i++ i {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		} {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		} if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			} i != a i a {
				System.out.print(x + i + " ");
			} System.out.print(x + i + " ") System.out.print System.out System System.out x + i + " " x + i + " " x i " " {
				System.out.print(x + i);
			} System.out.print(x + i) System.out.print System.out System System.out x + i x i String[] args args public class Main {
	public static void main(String[] args) {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	}
} public class Main {
	public static void main(String[] args) {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		int k,x;

		Scanner sc = new Scanner(System.in);

		k = sc.nextInt();
		x = sc.nextInt();

		int a = k-1;

		for (int i = 0; i < a; i++) {

			System.out.print(x - a + i + " ");

		}

		for (int i = 0; i <= a; i++) {

			if (i != a) {
				System.out.print(x + i + " ");
			} else {
				System.out.print(x + i);
			}

		}

	}
}
