import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	} main {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int k = Integer.parseInt(sc.next()); k Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		} int i = 0; int i = 0; i 0 i < k * 2 - 1 i k * 2 - 1 k * 2 k 2 1 i++ i++ i {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		} {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		} System.out.print(i==0 ? "":" ") System.out.print System.out System System.out i==0 ? "":" " i==0 i 0 "" " " System.out.print(x - (k - 1) + i) System.out.print System.out System System.out x - (k - 1) + i x - (k - 1) x (k - 1) k 1 i String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int k = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());

		for (int i = 0; i < k * 2 - 1; i++) {
			System.out.print(i==0 ? "":" ");
			System.out.print(x - (k - 1) + i);
		}
	}
}
