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();


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(i);
        }


    }
} 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();


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(i);
        }


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


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(i);
        }


    } main {
        Scanner sc = new Scanner(System.in);
        int K = sc.nextInt();
        int X = sc.nextInt();


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(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 int left = Math.max(X-K+1,-1000000); left Math.max(X-K+1,-1000000) Math.max Math X-K+1 X-K X K 1 -1000000 1000000 int right = Math.min(X+K-1,1000000); right Math.min(X+K-1,1000000) Math.min Math X+K-1 X+K X K 1 1000000 for (int i = left; i <= right ; i++) {
            System.out.println(i);
        } int i = left; int i = left; i left i <= right i right i++ i++ i {
            System.out.println(i);
        } {
            System.out.println(i);
        } System.out.println(i) System.out.println System.out System System.out i 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();


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(i);
        }


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


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(i);
        }


    }
} Main
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();


        int left = Math.max(X-K+1,-1000000);
        int right = Math.min(X+K-1,1000000);

        for (int i = left; i <= right ; i++) {
            System.out.println(i);
        }


    }
}
