import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    }
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    }
} Main public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    } main {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    } 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 List<String> result = new ArrayList<>(); result new ArrayList<>() for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        } int i = x - (k - 1); int i = x - (k - 1); i x - (k - 1) x (k - 1) k 1 i <= x + (k - 1) i x + (k - 1) x (k - 1) k 1 i++ i++ i {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        } {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        } if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            } i >= -1000000 && i <= 1000000 i >= -1000000 i -1000000 1000000 i <= 1000000 i 1000000 {
                result.add(Integer.toString(i));
            } result.add(Integer.toString(i)) result.add result Integer.toString(i) Integer.toString Integer i System.out.println(String.join(" ", result)) System.out.println System.out System System.out String.join(" ", result) String.join String " " result String args[] args public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    }
} public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    }
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int k = sc.nextInt();
        int x = sc.nextInt();

        List<String> result = new ArrayList<>();
        for (int i = x - (k - 1); i <= x + (k - 1); i++) {
            if (i >= -1000000 && i <= 1000000) {
                result.add(Integer.toString(i));
            }
        }

        System.out.println(String.join(" ", result));
    }
}
