import java.util.Arrays;
import java.util.Scanner;

import static java.lang.Math.max;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int x = scanner.nextInt();

        for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        }
    }
}
 import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util import static java.lang.Math.max; import static java.lang.Math.max; import static java.lang.Math.max; public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int x = scanner.nextInt();

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

        for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int x = scanner.nextInt();

        for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int k = scanner.nextInt(); k scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        } int i = -k + 1; int i = -k + 1; i -k + 1 -k k 1 i <= k - 1 i k - 1 k 1 i++ i++ i {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        } {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        } if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " "); -1000000 < x+i && x+i < 1000000 -1000000 < x+i -1000000 1000000 x+i x i x+i < 1000000 x+i x i 1000000 System.out.print(x+i + " ") System.out.print System.out System System.out x+i + " " x+i + " " x i " " String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int x = scanner.nextInt();

        for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int x = scanner.nextInt();

        for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        }
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

import static java.lang.Math.max;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int k = scanner.nextInt();
        int x = scanner.nextInt();

        for (int i = -k + 1; i <= k - 1 ; i++) {
            if(-1000000 < x+i && x+i < 1000000)
                System.out.print(x+i + " ");
        }
    }
}

