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();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
}
} 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();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
}
} Main public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
} main {
    
    Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
} 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 for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
} int i=-K+1; int i=-K+1; i -K+1 -K K 1 i<0 i 0 i++ i++ i {
        System.out.print(X+i +" ");
} {
        System.out.print(X+i +" ");
} System.out.print(X+i +" ") System.out.print System.out System System.out X+i +" " X+i +" " X i " " for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	} int j=0; int j=0; j 0 j<K j K j++ j++ j {    
		System.out.print(X+j +" ");	    
	} {    
		System.out.print(X+j +" ");	    
	} System.out.print(X+j +" ") System.out.print System.out System System.out X+j +" " X+j +" " X j " " 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();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
}
} public class Main {
	public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
		int K = sc.nextInt();
		int X = sc.nextInt();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
}
} 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();

    for(int i=-K+1; i<0; i++){
        System.out.print(X+i +" ");
}
    for(int j=0; j<K; j++){    
		System.out.print(X+j +" ");	    
	}
}
}