import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	}

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	} main {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int k= scan.nextInt(); k scan.nextInt() scan.nextInt scan int x= scan.nextInt(); x scan.nextInt() scan.nextInt scan scan.close() scan.close scan k-=1 k 1 for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		} int i=x-k; int i=x-k; i x-k x k i<x+k i x+k x k i++ i++ i {
			System.out.print(i+" ");
		} {
			System.out.print(i+" ");
		} System.out.print(i+" ") System.out.print System.out System System.out i+" " i " " System.out.println(x+k) System.out.println System.out System System.out x+k x k String[] args args public class Main{

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	}

} public class Main{

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	}

} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int k= scan.nextInt();
		int x= scan.nextInt();
		scan.close();
		k-=1;
		for(int i=x-k;i<x+k;i++) {
			System.out.print(i+" ");
		}
		System.out.println(x+k);
	}

}