import java.util.Scanner;

public class Main {
    public static boolean debug = true;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        }

    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static boolean debug = true;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        }

    }
} Main public static boolean debug = true; debug true public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        }

    } main {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(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 start = x- k + 1; start x- k + 1 x- k x k 1 int end = x + k - 1; end x + k - 1 x + k x k 1 if(start < -1000000){
            start = -1000000;
        } start < -1000000 start -1000000 1000000 {
            start = -1000000;
        } start = -1000000 start -1000000 1000000 if(end > 1000000){
            end = 1000000;
        } end > 1000000 end 1000000 {
            end = 1000000;
        } end = 1000000 end 1000000 for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        } int i=start; int i=start; i start i<end+1 i end+1 end 1 i++ i++ i {
            System.out.print(i + " ");
        } {
            System.out.print(i + " ");
        } System.out.print(i + " ") System.out.print System.out System System.out i + " " i " " String[] args args public class Main {
    public static boolean debug = true;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        }

    }
} public class Main {
    public static boolean debug = true;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        }

    }
} Main
import java.util.Scanner;

public class Main {
    public static boolean debug = true;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        int start = x- k + 1;
        int end = x + k - 1;

        if(start < -1000000){
            start = -1000000;
        }
        if(end > 1000000){
            end = 1000000;
        }

        for (int i=start; i<end+1;i++){
            System.out.print(i + " ");
        }

    }
}