import java.util.Scanner;

public class Main {
    static final int MIN = -1000000;
    static final int MAX = 1000000;

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

        for (int i = Math.max(MIN, X - K + 1); i <= Math.min(MAX, X + K - 1); i++) {
            System.out.print(i + " ");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    static final int MIN = -1000000;
    static final int MAX = 1000000;

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

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

        for (int i = Math.max(MIN, X - K + 1); i <= Math.min(MAX, X + K - 1); i++) {
            System.out.print(i + " ");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();

        for (int i = Math.max(MIN, X - K + 1); i <= Math.min(MAX, X + K - 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 for (int i = Math.max(MIN, X - K + 1); i <= Math.min(MAX, X + K - 1); i++) {
            System.out.print(i + " ");
        } int i = Math.max(MIN, X - K + 1); int i = Math.max(MIN, X - K + 1); i Math.max(MIN, X - K + 1) Math.max Math MIN X - K + 1 X - K X K 1 i <= Math.min(MAX, X + K - 1) i Math.min(MAX, X + K - 1) Math.min Math MAX X + K - 1 X + K X K 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 {
    static final int MIN = -1000000;
    static final int MAX = 1000000;

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

        for (int i = Math.max(MIN, X - K + 1); i <= Math.min(MAX, X + K - 1); i++) {
            System.out.print(i + " ");
        }
    }
} public class Main {
    static final int MIN = -1000000;
    static final int MAX = 1000000;

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

        for (int i = Math.max(MIN, X - K + 1); i <= Math.min(MAX, X + K - 1); i++) {
            System.out.print(i + " ");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    static final int MIN = -1000000;
    static final int MAX = 1000000;

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

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