import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author teiwa
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskB {
        int LOWER_LIMIT = -1000_000_000;
        int UPPER_LIMIT = 1000_000_000;

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        }

    }
}
 import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskB {
        int LOWER_LIMIT = -1000_000_000;
        int UPPER_LIMIT = 1000_000_000;

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    } InputStream inputStream = System.in; inputStream System.in System System.in OutputStream outputStream = System.out; outputStream System.out System System.out Scanner in = new Scanner(inputStream); in new Scanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) TaskB solver = new TaskB(); solver new TaskB() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class TaskB {
        int LOWER_LIMIT = -1000_000_000;
        int UPPER_LIMIT = 1000_000_000;

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        }

    } TaskB int LOWER_LIMIT = -1000_000_000; LOWER_LIMIT -1000_000_000 1000_000_000 int UPPER_LIMIT = 1000_000_000; UPPER_LIMIT 1000_000_000 public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        } solve {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        } int K = in.nextInt(); K in.nextInt() in.nextInt in int X = in.nextInt(); X in.nextInt() in.nextInt in int start = 0; start 0 int end = 0; end 0 if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            } X - LOWER_LIMIT + 1 < K X - LOWER_LIMIT + 1 X - LOWER_LIMIT X LOWER_LIMIT 1 K {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } start = LOWER_LIMIT start LOWER_LIMIT end = X + K - 1 end X + K - 1 X + K X K 1 if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            } UPPER_LIMIT - X + 1 < K UPPER_LIMIT - X + 1 UPPER_LIMIT - X UPPER_LIMIT X 1 K {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } start = UPPER_LIMIT - X + 1 start UPPER_LIMIT - X + 1 UPPER_LIMIT - X UPPER_LIMIT X 1 end = UPPER_LIMIT end UPPER_LIMIT {
                start = X - (K - 1);
                end = X + (K - 1);
            } start = X - (K - 1) start X - (K - 1) X (K - 1) K 1 end = X + (K - 1) end X + (K - 1) X (K - 1) K 1 for (int i = start; i <= end; i++) {
                out.println(i);
            } int i = start; int i = start; i start i <= end i end i++ i++ i {
                out.println(i);
            } {
                out.println(i);
            } out.println(i) out.println out i int testNumber testNumber Scanner in in PrintWriter out out public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskB {
        int LOWER_LIMIT = -1000_000_000;
        int UPPER_LIMIT = 1000_000_000;

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        }

    }
} public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskB {
        int LOWER_LIMIT = -1000_000_000;
        int UPPER_LIMIT = 1000_000_000;

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author teiwa
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskB {
        int LOWER_LIMIT = -1000_000_000;
        int UPPER_LIMIT = 1000_000_000;

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int K = in.nextInt();
            int X = in.nextInt();
            int start = 0;
            int end = 0;
            if (X - LOWER_LIMIT + 1 < K) {
                start = LOWER_LIMIT;
                end = X + K - 1;
            } else if (UPPER_LIMIT - X + 1 < K) {
                start = UPPER_LIMIT - X + 1;
                end = UPPER_LIMIT;
            } else {
                start = X - (K - 1);
                end = X + (K - 1);
            }

            for (int i = start; i <= end; i++) {
                out.println(i);
            }
        }

    }
}

