import java.io.*;
import java.util.*;
import java.util.stream.*;

public class Main {
    public static final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
    public static final PrintStream out = System.out;

    public static void main(String[] args) {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    }
} import java.io.*; io.* java import java.util.*; util.* java import java.util.stream.*; stream.* java.util public class Main {
    public static final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
    public static final PrintStream out = System.out;

    public static void main(String[] args) {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    }
} Main public static final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); in new Scanner(new BufferedReader(new InputStreamReader(System.in))) public static final PrintStream out = System.out; out System.out System System.out public static void main(String[] args) {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    } main {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    } int K = in.nextInt(); K in.nextInt() in.nextInt in int X = in.nextInt(); X in.nextInt() in.nextInt in for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        } int i = Math.max(-1000000, X - K + 1); int i = Math.max(-1000000, X - K + 1); i Math.max(-1000000, X - K + 1) Math.max Math -1000000 1000000 X - K + 1 X - K X K 1 i <= Math.min(X + K - 1, 1000000) i Math.min(X + K - 1, 1000000) Math.min Math X + K - 1 X + K X K 1 1000000 i++ i++ i {
            out.print(i);
            out.print(" ");
        } {
            out.print(i);
            out.print(" ");
        } out.print(i) out.print out i out.print(" ") out.print out " " String[] args args public class Main {
    public static final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
    public static final PrintStream out = System.out;

    public static void main(String[] args) {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    }
} public class Main {
    public static final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
    public static final PrintStream out = System.out;

    public static void main(String[] args) {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    }
} Main
import java.io.*;
import java.util.*;
import java.util.stream.*;

public class Main {
    public static final Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
    public static final PrintStream out = System.out;

    public static void main(String[] args) {
        int K = in.nextInt();
        int X = in.nextInt();

        for (int i = Math.max(-1000000, X - K + 1); i <= Math.min(X + K - 1, 1000000); i++) {
            out.print(i);
            out.print(" ");
        }
    }
}
