import java.util.*;

public class Main {

	public static void main (String[] args)  {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	}
} import java.util.*; util.* java public class Main {

	public static void main (String[] args)  {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	}
} Main public static void main (String[] args)  {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	} main {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int k = sc.nextInt(); k sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc boolean flag = false; flag false StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		} int i = Math.max(x - k + 1, -1000000); int i = Math.max(x - k + 1, -1000000); i Math.max(x - k + 1, -1000000) Math.max Math x - k + 1 x - k x k 1 -1000000 1000000 i <= Math.min(x + k - 1, 1000000) i Math.min(x + k - 1, 1000000) Math.min Math x + k - 1 x + k x k 1 1000000 i++ i++ i {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		} {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		} if (flag) {
				sb.append(" ");
			} flag {
				sb.append(" ");
			} sb.append(" ") sb.append sb " " flag = true flag true sb.append(i) sb.append sb i System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {

	public static void main (String[] args)  {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	}
} public class Main {

	public static void main (String[] args)  {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	}
} Main
import java.util.*;

public class Main {

	public static void main (String[] args)  {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();
		boolean flag = false;
		StringBuilder sb = new StringBuilder();
		for (int i = Math.max(x - k + 1, -1000000); i <= Math.min(x + k - 1, 1000000); i++) {
			if (flag) {
				sb.append(" ");
			}
			flag = true;
			sb.append(i);
		}
		System.out.println(sb);
	}
}
