import java.util.*;
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();

        int from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; i++)
            System.out.print(i + " ");
    }
} import java.util.*; util.* 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();

        int from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; i++)
            System.out.print(i + " ");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int k = sc.nextInt();
        int x = sc.nextInt();

        int from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; i++)
            System.out.print(i + " ");
    } main {
        Scanner sc = new Scanner(System.in);

        int k = sc.nextInt();
        int x = sc.nextInt();

        int from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; 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 from; from int to; to if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000; x-(k-1) >= -1000000 x-(k-1) x (k-1) k 1 -1000000 1000000 from = x-(k-1) from x-(k-1) x (k-1) k 1 from = -1000000 from -1000000 1000000 if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000; x+(k-1) <= 1000000 x+(k-1) x (k-1) k 1 1000000 to = x+(k-1) to x+(k-1) x (k-1) k 1 to = 1000000 to 1000000 for (int i = from; i<=to; i++)
            System.out.print(i + " "); int i = from; int i = from; i from i<=to i to i++ i++ 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 void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int k = sc.nextInt();
        int x = sc.nextInt();

        int from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; i++)
            System.out.print(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 from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; i++)
            System.out.print(i + " ");
    }
} Main
import java.util.*;
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();

        int from;
        int to;

        if (x-(k-1) >= -1000000)
            from = x-(k-1);
        else
            from = -1000000;
        if (x+(k-1) <= 1000000)
            to = x+(k-1);
        else
            to = 1000000;
        for (int i = from; i<=to; i++)
            System.out.print(i + " ");
    }
}