import java.util.*;
import java.math.*;
import java.io.*;
import java.lang.*;

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 <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        System.out.println("");
    }
}

class io{

    public static void YesNo(boolean f) {
        System.out.println(f?"Yes":"No");
    }
    public static void YESNO(boolean f) {
        System.out.println(f?"YES":"NO");
    }
}

class Algo{
    public static boolean isOdd(int n){
        return n % 2 == 1;
    }
    public static boolean isEven(int n){
        return n % 2 == 0;
    }


}
 import java.util.*; util.* java import java.math.*; math.* java import java.io.*; io.* java import java.lang.*; lang.* 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 <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        System.out.println("");
    }
} 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 <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        System.out.println("");
    } main {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();
        for (int i = -k+1; i <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        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 = -k+1; i <= k-1; i++) {
            System.out.print(x+i + " ");
        } int i = -k+1; int i = -k+1; i -k+1 -k k 1 i <= k-1 i k-1 k 1 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 " " System.out.println("") System.out.println System.out System System.out "" String[] args args class io{

    public static void YesNo(boolean f) {
        System.out.println(f?"Yes":"No");
    }
    public static void YESNO(boolean f) {
        System.out.println(f?"YES":"NO");
    }
} io public static void YesNo(boolean f) {
        System.out.println(f?"Yes":"No");
    } YesNo {
        System.out.println(f?"Yes":"No");
    } System.out.println(f?"Yes":"No") System.out.println System.out System System.out f?"Yes":"No" f "Yes" "No" boolean f f public static void YESNO(boolean f) {
        System.out.println(f?"YES":"NO");
    } YESNO {
        System.out.println(f?"YES":"NO");
    } System.out.println(f?"YES":"NO") System.out.println System.out System System.out f?"YES":"NO" f "YES" "NO" boolean f f class Algo{
    public static boolean isOdd(int n){
        return n % 2 == 1;
    }
    public static boolean isEven(int n){
        return n % 2 == 0;
    }


} Algo public static boolean isOdd(int n){
        return n % 2 == 1;
    } isOdd {
        return n % 2 == 1;
    } return n % 2 == 1; n % 2 == 1 n % 2 n 2 1 int n n public static boolean isEven(int n){
        return n % 2 == 0;
    } isEven {
        return n % 2 == 0;
    } return n % 2 == 0; n % 2 == 0 n % 2 n 2 0 int n n 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 <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        System.out.println("");
    }
} 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 <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        System.out.println("");
    }
} Main
import java.util.*;
import java.math.*;
import java.io.*;
import java.lang.*;

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 <= k-1; i++) {
            System.out.print(x+i + " ");
        }
        System.out.println("");
    }
}

class io{

    public static void YesNo(boolean f) {
        System.out.println(f?"Yes":"No");
    }
    public static void YESNO(boolean f) {
        System.out.println(f?"YES":"NO");
    }
}

class Algo{
    public static boolean isOdd(int n){
        return n % 2 == 1;
    }
    public static boolean isEven(int n){
        return n % 2 == 0;
    }


}

