import java.util.*;

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

        for(int i = 0; i < k-1; i++){
            System.out.print(x+i+1 + " ");
        }
    }
} import java.util.*; util.* java public class Main{
	public static void main(String args[]){
        Scanner sc1 = new Scanner(System.in);
        int k = sc1.nextInt();
        int x = sc1.nextInt();
        for(int i = 0; i < k-1; i++){
            System.out.print(x-k+1+i + " ");
        }
        
        System.out.print(x + " ");

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

        for(int i = 0; i < k-1; i++){
            System.out.print(x+i+1 + " ");
        }
    } main {
        Scanner sc1 = new Scanner(System.in);
        int k = sc1.nextInt();
        int x = sc1.nextInt();
        for(int i = 0; i < k-1; i++){
            System.out.print(x-k+1+i + " ");
        }
        
        System.out.print(x + " ");

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

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

        for(int i = 0; i < k-1; i++){
            System.out.print(x+i+1 + " ");
        }
    }
} Main
import java.util.*;

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

        for(int i = 0; i < k-1; i++){
            System.out.print(x+i+1 + " ");
        }
    }
}