import java.util.Scanner;

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

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	}
} import java.util.Scanner; Scanner 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();

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	} main {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	} 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 int min = x-k+1; min x-k+1 x-k x k 1 int max = x+k-1; max x+k-1 x+k x k 1 StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		} int i=min; int i=min; i min i<=max i max i++ i++ i {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		} {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		} if(i > 1000000 || i < -1000000) {
				break;
			} i > 1000000 || i < -1000000 i > 1000000 i 1000000 i < -1000000 i -1000000 1000000 {
				break;
			} break; if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			} i == min i min {
				sb.append(i);
			} sb.append(i) sb.append sb i {
				sb.append(" " + i);
			} sb.append(" " + i) sb.append sb " " + i " " i System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString 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();

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int k = sc.nextInt();
		int x = sc.nextInt();

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	}
} Main
import java.util.Scanner;

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

		int min = x-k+1;
		int max = x+k-1;

		StringBuilder sb = new StringBuilder();
		for(int i=min; i<=max; i++) {
			if(i > 1000000 || i < -1000000) {
				break;
			}
			if(i == min) {
				sb.append(i);
			} else {
				sb.append(" " + i);
			}
		}
		System.out.println(sb.toString());
	}
}