import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    }
} import java.util.Scanner; Scanner java.util public class Main {
    
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    } main {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    } 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 = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        } int i = 0; int i = 0; i 0 i < 2*(K-1)+1 i 2*(K-1)+1 2*(K-1) 2 (K-1) K 1 1 i++ i++ i {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        } {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        } System.out.print(X-K+1+i) System.out.print System.out System System.out X-K+1+i X-K+1+i X-K X K 1 i if(i != 2*(K-1) )System.out.print(" "); i != 2*(K-1) i 2*(K-1) 2 (K-1) K 1 System.out.print(" ") System.out.print System.out System System.out " " System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {
    
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    }
} public class Main {
    
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    }
} Main
import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
//        List<Integer> list = new ArrayList<Integer>();
//        List<Integer> lo = new ArrayList<Integer>();
        int X = sc.nextInt();
        
        
        for(int i = 0; i < 2*(K-1)+1; i++) {
            System.out.print(X-K+1+i);
            if(i != 2*(K-1) )System.out.print(" ");
        }
        System.out.println("");

    }
}
