// package app;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Scanner;
import java.util.StringJoiner;
import java.util.stream.Stream;

public class Main {

    public static void main(final String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Arrays; Arrays java.util import java.util.HashMap; HashMap java.util import java.util.Map; Map java.util import java.util.Objects; Objects java.util import java.util.Scanner; Scanner java.util import java.util.StringJoiner; StringJoiner java.util import java.util.stream.Stream; Stream java.util.stream public class Main {

    public static void main(final String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    }
} Main public static void main(final String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    } main {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    } 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 StringJoiner sj = new StringJoiner(" "); sj new StringJoiner(" ") for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        } int i = -(K - 1); int i = -(K - 1); i -(K - 1) (K - 1) K 1 i < K i K i++ i++ i {
            sj.add(String.valueOf(i + X));
        } {
            sj.add(String.valueOf(i + X));
        } sj.add(String.valueOf(i + X)) sj.add sj String.valueOf(i + X) String.valueOf String i + X i X System.out.println(sj.toString()) System.out.println System.out System System.out sj.toString() sj.toString sj final String[] args args public class Main {

    public static void main(final String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    }
} public class Main {

    public static void main(final String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    }
} Main
// package app;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Scanner;
import java.util.StringJoiner;
import java.util.stream.Stream;

public class Main {

    public static void main(final String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);

        // long N = sc.nextLong();
        // long K = sc.nextLong();
        int K = sc.nextInt();
        int X = sc.nextInt();

        StringJoiner sj = new StringJoiner(" ");

        for (int i = -(K - 1); i < K; i++) {
            sj.add(String.valueOf(i + X));
        }

        System.out.println(sj.toString());

    }
}