import java.io.PrintWriter;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	}

	
} import java.io.PrintWriter; PrintWriter java.io import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	}

	
} Main public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	} main {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	} Scanner stdin = new Scanner(System.in); stdin new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int K = Integer.parseInt(stdin.next()); K Integer.parseInt(stdin.next()) Integer.parseInt Integer stdin.next() stdin.next stdin int X = Integer.parseInt(stdin.next()); X Integer.parseInt(stdin.next()) Integer.parseInt Integer stdin.next() stdin.next stdin int i; i int j; j for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		} i=0; i=0 i 0 i<K-1 i K-1 K 1 i++ i++ i {
			if(X-i <= -1000000) break;
		} {
			if(X-i <= -1000000) break;
		} if(X-i <= -1000000) break; X-i <= -1000000 X-i X i -1000000 1000000 break; for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		} j=0; j=0 j 0 j<K-1 j K-1 K 1 j++ j++ j {
			if(X+j > 1000000) break;
		} {
			if(X+j > 1000000) break;
		} if(X+j > 1000000) break; X+j > 1000000 X+j X j 1000000 break; for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		} int z=X-i; int z=X-i; z X-i X i z<=X+j z X+j X j z++ z++ z {
			out.print(z+" ");
		} {
			out.print(z+" ");
		} out.print(z+" ") out.print out z+" " z " " out.flush() out.flush out String[] args args public class Main {
	public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	}

	
} public class Main {
	public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	}

	
} Main
import java.io.PrintWriter;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		
		int K = Integer.parseInt(stdin.next());
		int X = Integer.parseInt(stdin.next());
		
		int i;
		int j;
		
		for(i=0;i<K-1;i++) {
			if(X-i <= -1000000) break;
		}
		for(j=0;j<K-1;j++) {
			if(X+j > 1000000) break;
		}

		for(int z=X-i;z<=X+j;z++) {
			out.print(z+" ");
		}
		out.flush();
	}

	
}