import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	}

} Main public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	} main {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	} Scanner scn =new Scanner(System.in); scn new Scanner(System.in) int K=scn.nextInt(); K scn.nextInt() scn.nextInt scn int X=scn.nextInt(); X scn.nextInt() scn.nextInt scn for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		} int i=-100; int i=-100; i -100 100 i<300 i 300 i++ i++ i {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		} {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		} if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			} (X-K)<i&&(X+K)>i (X-K)<i (X-K) X K i (X+K)>i (X+K) X K i {
				System.out.print(i+" ");
			} System.out.print(i+" ") System.out.print System.out System System.out i+" " i " " String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scn =new Scanner(System.in);
		int K=scn.nextInt();
		int X=scn.nextInt();
		for(int i=-100;i<300;i++) {
			if((X-K)<i&&(X+K)>i) {
				System.out.print(i+" ");
			}
		}
	}

}
