import java.util.*;

public class Main {
	Scanner sc;
	int K, X;
	public Main() {
		sc = new Scanner(System.in);
	}
	
	private void calc() {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	}
	
	public static void main(String[] args) {
		Main m = new Main();
		m.calc();
	}

} import java.util.*; util.* java public class Main {
	Scanner sc;
	int K, X;
	public Main() {
		sc = new Scanner(System.in);
	}
	
	private void calc() {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	}
	
	public static void main(String[] args) {
		Main m = new Main();
		m.calc();
	}

} Main Scanner sc; sc int K K X; X public Main() {
		sc = new Scanner(System.in);
	} Main {
		sc = new Scanner(System.in);
	} sc = new Scanner(System.in) sc new Scanner(System.in) private void calc() {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	} calc {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	} K = sc.nextInt() K sc.nextInt() sc.nextInt sc X = sc.nextInt() X sc.nextInt() sc.nextInt sc int min = X-(K-1); min X-(K-1) X (K-1) K 1 int max = X+(K-1); max X+(K-1) X (K-1) K 1 if (min < -1000000) min = -1000000; min < -1000000 min -1000000 1000000 min = -1000000 min -1000000 1000000 if (max > 1000000) max = 1000000; max > 1000000 max 1000000 max = 1000000 max 1000000 for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		} int i = min; int i = min; i min i <= max i max i++ i++ i {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		} {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		} System.out.print(i) System.out.print System.out System System.out i if (i < max) System.out.print(" "); i < max i max System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out System.out.flush() System.out.flush System.out System System.out public static void main(String[] args) {
		Main m = new Main();
		m.calc();
	} main {
		Main m = new Main();
		m.calc();
	} Main m = new Main(); m new Main() m.calc() m.calc m String[] args args public class Main {
	Scanner sc;
	int K, X;
	public Main() {
		sc = new Scanner(System.in);
	}
	
	private void calc() {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	}
	
	public static void main(String[] args) {
		Main m = new Main();
		m.calc();
	}

} public class Main {
	Scanner sc;
	int K, X;
	public Main() {
		sc = new Scanner(System.in);
	}
	
	private void calc() {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	}
	
	public static void main(String[] args) {
		Main m = new Main();
		m.calc();
	}

} Main
import java.util.*;

public class Main {
	Scanner sc;
	int K, X;
	public Main() {
		sc = new Scanner(System.in);
	}
	
	private void calc() {
		K = sc.nextInt();
		X = sc.nextInt();
		
		int min = X-(K-1);
		int max = X+(K-1);
		if (min < -1000000) min = -1000000;
		if (max > 1000000) max = 1000000;
		
		for (int i = min; i <= max; i++) {
			System.out.print(i);
			if (i < max) System.out.print(" ");
		}
		System.out.println();
		System.out.flush();
	}
	
	public static void main(String[] args) {
		Main m = new Main();
		m.calc();
	}

}