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();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    }
} 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();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    } main {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    } 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 int[] num = new int[2*k-1]; num new int[2*k-1] 2*k-1 2*k 2 k 1 int len = num.length; len num.length num num.length int sum = x-k+1; sum x-k+1 x-k x k 1 for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        } int i = 0; int i = 0; i 0 i<len i len i++ i++ i {
            num[i] = sum;
            sum++;
            
        } {
            num[i] = sum;
            sum++;
            
        } num[i] = sum num[i] num i sum sum++ sum for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        } int i = 0; int i = 0; i 0 i<len i len i++ i++ i {
            System.out.print(num[i]+" ");
        } {
            System.out.print(num[i]+" ");
        } System.out.print(num[i]+" ") System.out.print System.out System System.out num[i]+" " num[i] num i " " 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();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    }
} 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();
        int[] num = new int[2*k-1];
        int len = num.length;
        int sum = x-k+1;


        for(int i = 0;i<len;i++){
            num[i] = sum;
            sum++;
            
        }

        for(int i = 0;i<len;i++){
            System.out.print(num[i]+" ");
        }


    }
}
